gtk+3.0.git
8 years agoEntryBuffer: Don't generate changed events when input is truncated
Robert Ancell [Mon, 15 May 2017 05:03:36 +0000 (17:03 +1200)]
EntryBuffer: Don't generate changed events when input is truncated

8 years agowidget-factory: Use :relief=none, not class .flat
Daniel Boles [Sat, 13 May 2017 20:55:28 +0000 (21:55 +0100)]
widget-factory: Use :relief=none, not class .flat

The rest of the ui file follows that convention.

8 years ago3.22.15
Matthias Clasen [Thu, 11 May 2017 19:09:33 +0000 (15:09 -0400)]
3.22.15

8 years agolistbox: Manually unparent placeholder in dispose
Timm Bäder [Thu, 11 May 2017 13:33:13 +0000 (15:33 +0200)]
listbox: Manually unparent placeholder in dispose

We can't make the placeholder a non-internal child as that breaks
applications that previously relied on foreach() to only return
GtkListBoxRow instances. Instead, unparent the placeholder manually in
dispose.

https://bugzilla.gnome.org/show_bug.cgi?id=782494

8 years agoRevert "listbox: Properly remove placeholders"
Matthias Clasen [Thu, 11 May 2017 19:01:05 +0000 (15:01 -0400)]
Revert "listbox: Properly remove placeholders"

This reverts commit b7fdc5b447b44b5b7638a3ac41cac58136bc5ca2.

This was found to break the expectations of existing listbox
users.

8 years agoAdwaita: regenerate the css
Lapo Calamandrei [Thu, 11 May 2017 13:19:19 +0000 (15:19 +0200)]
Adwaita: regenerate the css

8 years agoAdwaita: restyle entry-tag
Lapo Calamandrei [Thu, 11 May 2017 12:36:57 +0000 (14:36 +0200)]
Adwaita: restyle entry-tag

Fix the sizing and spacing, blue tags for the bright variant,
similar to what gnome-documents was shipping, and inverted gray
tags for the dark variant, not vanishing on hover.

8 years ago3.22.14
Matthias Clasen [Wed, 10 May 2017 18:57:00 +0000 (14:57 -0400)]
3.22.14

8 years agogtkclipboard: Fix typo
Carlos Garnacho [Wed, 10 May 2017 18:20:50 +0000 (20:20 +0200)]
gtkclipboard: Fix typo

The standard atom is UTF8_STRING.

8 years agobuild: Fix the check on sassc's presence
Emmanuele Bassi [Wed, 10 May 2017 13:31:09 +0000 (14:31 +0100)]
build: Fix the check on sassc's presence

If sassc is not available we do not want to include the rules to
regenerate the CSS out of the SCSS files.

8 years agobuild/win32/replace.py: Fix replacing items in files with UTF-8 content
Chun-wei Fan [Wed, 10 May 2017 01:25:43 +0000 (18:25 -0700)]
build/win32/replace.py: Fix replacing items in files with UTF-8 content

Some files that this script will process might have UTF-8 items in
there, which can cause problems on Python 3.x as it is more strict and
careful on unicode issues.

Fix this by:
-Doing what we did before on Python 2.x
-Opening the file with encoding='utf-8' on Python 3.x

8 years ago3.22.13
Matthias Clasen [Tue, 9 May 2017 16:58:11 +0000 (12:58 -0400)]
3.22.13

8 years agoFix the build
Matthias Clasen [Tue, 9 May 2017 18:01:22 +0000 (14:01 -0400)]
Fix the build

It seems that new gtk-doc doesn't like this variable,
so drop it.

8 years agoGtkWindow: Don't double free export user data
Jonas Ådahl [Tue, 9 May 2017 15:07:02 +0000 (23:07 +0800)]
GtkWindow: Don't double free export user data

The user data passed when exporting a Wayland window was supposed to be
freed using the destroy_func, as is commonly done. This was previously
broken, as the user data was just NULL:ed when exported, and only
actually destroyed when unexporting before having exported.

While e016d9a5dba6f6f99aee94d0b72c00bee299b96a fixed this, it introduced
a regression, as GtkWindow was nice enough to free the memory anyway
after having received the exported handle, causing it now to double
free.

https://bugzilla.gnome.org/show_bug.cgi?id=782109

8 years agobuild: Disable deprecation warnings in broadway
Emmanuele Bassi [Tue, 9 May 2017 13:30:40 +0000 (14:30 +0100)]
build: Disable deprecation warnings in broadway

Avoid compiler warnings while building code that uses deprecated API.

8 years agoSpecify more options to sassc
Emmanuele Bassi [Wed, 3 May 2017 14:46:35 +0000 (15:46 +0100)]
Specify more options to sassc

We should use the compact style, to minimize the whitespace; and we
should omit the source map URL comment as well.

8 years agobuild: De-duplicate options to sassc
Emmanuele Bassi [Wed, 3 May 2017 14:45:15 +0000 (15:45 +0100)]
build: De-duplicate options to sassc

If we want to change the list of options we use with sassc, not having
to copy-paste them in multiple rules would be a good start.

8 years agobuild: Enable subdir-objects
Emmanuele Bassi [Sun, 30 Apr 2017 15:06:29 +0000 (16:06 +0100)]
build: Enable subdir-objects

Like we did in the master branch.

Using subdir-objects removes the forward compatibility warnings coming
from autotools.

8 years agobuild: Remove unused rules
Emmanuele Bassi [Sun, 30 Apr 2017 15:05:49 +0000 (16:05 +0100)]
build: Remove unused rules

The foreign drawing example was moved to the GTK demos.

8 years agobuild: Don't include the marshallers header file
Emmanuele Bassi [Fri, 28 Apr 2017 20:50:41 +0000 (21:50 +0100)]
build: Don't include the marshallers header file

We used to inject the inclusion of the generated header file into the
generated body of the marshallers source code in order to avoid compiler
warnings about missing prototypes. The glib-genmarshal utility has been
fixed in GLib to include the prototype in the generated source, so now
we're going to trip -Werror=redundant-decls.

8 years agoAdwaita: regenerate css
Lapo Calamandrei [Tue, 9 May 2017 11:32:56 +0000 (13:32 +0200)]
Adwaita: regenerate css

8 years agoAdwaita: add a comment
Lapo Calamandrei [Tue, 9 May 2017 11:31:31 +0000 (13:31 +0200)]
Adwaita: add a comment

Add a comment pointing to the related bug for the dropdown menu
margin.

8 years agoRevert "Adwaita: remove unneeded margin on dropdown menu"
Lapo Calamandrei [Tue, 9 May 2017 11:27:51 +0000 (13:27 +0200)]
Revert "Adwaita: remove unneeded margin on dropdown menu"

This reverts commit bb1679b247a8805a9c87a41dcd10a2ae8b2d65d3.
The margin was actually related to:
https://bugzilla.gnome.org/show_bug.cgi?id=591258

8 years agoRevert "Adwaita: regenerate the css"
Lapo Calamandrei [Tue, 9 May 2017 11:26:42 +0000 (13:26 +0200)]
Revert "Adwaita: regenerate the css"

This reverts commit f2f09b957441e26b0fe9ce51626b086f2b12e2c5.

8 years agoMake sure to remove tooltip timeout.
Olof-Joachim Frahm [Sun, 5 Feb 2017 18:08:56 +0000 (19:08 +0100)]
Make sure to remove tooltip timeout.

Otherwise in GC-ed environments the `g_source_remove` call during
disposal might be called on an already removed source, which results in
unnecessary console output.

https://bugzilla.gnome.org/show_bug.cgi?id=778301

8 years agoAdwaita: regenerate the css
Lapo Calamandrei [Tue, 9 May 2017 10:50:49 +0000 (12:50 +0200)]
Adwaita: regenerate the css

8 years agoAdwaita: remove unneeded margin on dropdown menu
Lapo Calamandrei [Tue, 9 May 2017 10:45:22 +0000 (12:45 +0200)]
Adwaita: remove unneeded margin on dropdown menu

That margin was probably a left over to workaround some placement
issue on dropdowns which doesn't exist anymore.

8 years agoUpdate Italian translation
Gianvito Cavasoli [Tue, 9 May 2017 08:48:31 +0000 (08:48 +0000)]
Update Italian translation

8 years agoGdkWaylandWindow: Unexport when finalizing
Jonas Ådahl [Mon, 8 May 2017 04:09:00 +0000 (12:09 +0800)]
GdkWaylandWindow: Unexport when finalizing

The application might not have exported, and it'll be too late for it
at this point anyway, so lets be helpful and not leak it.

https://bugzilla.gnome.org/show_bug.cgi?id=782109

8 years agobox: Initialize size arrays to 0
Timm Bäder [Thu, 30 Mar 2017 07:02:00 +0000 (07:02 +0000)]
box: Initialize size arrays to 0

Thats the right thing to do.

https://bugzilla.gnome.org/show_bug.cgi?id=773814

8 years agostyle entry-tags
Jakub Steiner [Thu, 13 Apr 2017 17:38:53 +0000 (19:38 +0200)]
style entry-tags

https://bugzilla.gnome.org/show_bug.cgi?id=781214

8 years agowayland: Remove self assignment
Jonas Ådahl [Mon, 20 Mar 2017 13:37:10 +0000 (21:37 +0800)]
wayland: Remove self assignment

Don't assign the value of a variable to itself. It was added just for
clarity, but it makes coverity complain, so remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=780301

8 years agowayland: Use correct enum type and values
Jonas Ådahl [Mon, 20 Mar 2017 13:36:29 +0000 (21:36 +0800)]
wayland: Use correct enum type and values

Use the gravity enum values when converting to gravity. It doesn't fix
anything, since the enum values were identical, but it makes a coverity
warning go away.

https://bugzilla.gnome.org/show_bug.cgi?id=780301

8 years agofile filter: Be save against NULL
Matthias Clasen [Mon, 8 May 2017 20:35:53 +0000 (16:35 -0400)]
file filter: Be save against NULL

g_content_type_from_mime_type may return NULL, deal with that.

https://bugzilla.gnome.org/show_bug.cgi?id=782180

8 years agoRevert "GdkWaylandWindow: Unexport when finalizing"
Matthias Clasen [Mon, 8 May 2017 20:00:49 +0000 (16:00 -0400)]
Revert "GdkWaylandWindow: Unexport when finalizing"

This reverts commit ab4e4bd3aec6aeb3df6de16bd12d7f538de39061.

8 years agoGdkWaylandWindow: Unexport when finalizing
Jonas Ådahl [Mon, 8 May 2017 04:09:00 +0000 (12:09 +0800)]
GdkWaylandWindow: Unexport when finalizing

The application might not have exported, and it'll be too late for it
at this point anyway, so lets be helpful and not leak it.

https://bugzilla.gnome.org/show_bug.cgi?id=782109

8 years agoGdkWaylandWindow: Clear export user data when used
Jonas Ådahl [Fri, 5 May 2017 11:07:04 +0000 (19:07 +0800)]
GdkWaylandWindow: Clear export user data when used

It was only cleared when unexported, but we could just as well clear it
when its used too.

https://bugzilla.gnome.org/show_bug.cgi?id=782109

8 years agolinkbutton: Fix memory leak
Mohammed Sadiq [Fri, 5 May 2017 05:22:27 +0000 (10:52 +0530)]
linkbutton: Fix memory leak

strings returned by gtk_widget_get_tooltip_text() and
gtk_widget_get_tooltip_markup() has to be freed when no longer
required.

https://bugzilla.gnome.org/show_bug.cgi?id=782202

8 years agomenubutton: Remove prelight state when button is deactivated
Michael Catanzaro [Sun, 30 Apr 2017 18:26:13 +0000 (13:26 -0500)]
menubutton: Remove prelight state when button is deactivated

If the button is deactivated, it should not appear to be hovered
anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=781992

8 years agoUpdate Hungarian translation
Balázs Úr [Fri, 5 May 2017 18:52:59 +0000 (18:52 +0000)]
Update Hungarian translation

8 years agogtkdnd: restore drag window movement for the unmanaged case
Christoph Reiter [Wed, 26 Apr 2017 10:46:40 +0000 (12:46 +0200)]
gtkdnd: restore drag window movement for the unmanaged case

5bb12474d975ee4b790c5 removed the dnd window movement code to let
the gdk backends handle the window movement instead. While this
works for X11/wayland the win32 backend still uses the unmanaged
interface and expects the window movement to be handled on the gtk
side. This restores the functionality in case the dnd is unmanaged.

This fixes the drag window on Windows being stuck in the top left
corner instead of following the drag position.

https://bugzilla.gnome.org/show_bug.cgi?id=781737

8 years agoshortcutssection: plug a tiny mem leak
Paolo Borelli [Sun, 30 Apr 2017 14:02:15 +0000 (16:02 +0200)]
shortcutssection: plug a tiny mem leak

8 years agoclipboard: Try the mimetype first
Matthias Clasen [Wed, 3 May 2017 21:08:29 +0000 (17:08 -0400)]
clipboard: Try the mimetype first

Try text/plain;charset=utf-8 first, before falling back to
X11-isms like UTF8_TEXT. This makes things work on Wayland
compositors that don't carry a heavy X11 legacy around.

https://bugzilla.gnome.org/show_bug.cgi?id=781814

8 years agoAdwaita: regenerate css
Lapo Calamandrei [Wed, 3 May 2017 15:47:14 +0000 (17:47 +0200)]
Adwaita: regenerate css

8 years agoAdwaita: add more space between check/radio and label in popovers
Lapo Calamandrei [Wed, 3 May 2017 15:39:21 +0000 (17:39 +0200)]
Adwaita: add more space between check/radio and label in popovers

See https://bugzilla.gnome.org/show_bug.cgi?id=779570 for details.

8 years agoScale: Improve documentation of set_has_origin()
Daniel Boles [Tue, 2 May 2017 11:22:20 +0000 (12:22 +0100)]
Scale: Improve documentation of set_has_origin()

Properly format the property name, and avoid saying scale so many times.

8 years agoScale: Explain how to round value when !draw-value
Daniel Boles [Tue, 2 May 2017 11:18:26 +0000 (12:18 +0100)]
Scale: Explain how to round value when !draw-value

Scale:digits is (now, again) ineffective if Scale:draw-value is FALSE.
To get rounding in that case, the base Range:round-digits must be used.

8 years agoUpdate Swedish translation
Anders Jonsson [Mon, 1 May 2017 22:25:39 +0000 (22:25 +0000)]
Update Swedish translation

8 years agoUpdate Slovak translation
Dušan Kazik [Sun, 30 Apr 2017 08:01:40 +0000 (08:01 +0000)]
Update Slovak translation

8 years agoUpdated Serbian translation
Мирослав Николић [Sun, 30 Apr 2017 06:47:39 +0000 (08:47 +0200)]
Updated Serbian translation

8 years agoUpdated Serbian translation
Мирослав Николић [Sun, 30 Apr 2017 06:30:24 +0000 (08:30 +0200)]
Updated Serbian translation

8 years agoUpdated Serbian translation
Мирослав Николић [Sun, 30 Apr 2017 06:25:14 +0000 (08:25 +0200)]
Updated Serbian translation

8 years agoUpdated Serbian translation
Мирослав Николић [Sun, 30 Apr 2017 06:15:13 +0000 (08:15 +0200)]
Updated Serbian translation

8 years agoUpdate Indonesian translation
Kukuh Syafaat [Sat, 29 Apr 2017 02:09:31 +0000 (02:09 +0000)]
Update Indonesian translation

8 years agowayland: make key event log more explicit
Olivier Fourdan [Wed, 26 Apr 2017 13:35:42 +0000 (15:35 +0200)]
wayland: make key event log more explicit

With Wayland, GDK_DEBUG=events would log key events but not explicitly
state whether the event is a key press or release, or if it's
originating from a key repeat.

Add some more verbosity to make sure these informations are logged on
key delivery when GDK_DEBUG is set.

https://bugzilla.gnome.org/show_bug.cgi?id=781767

8 years agoUpdate German translation
Mario Blättermann [Fri, 28 Apr 2017 09:50:43 +0000 (09:50 +0000)]
Update German translation

8 years agogdk: Relicense translate_wm_button_layout_to_gtk()
Florian Müllner [Sat, 22 Apr 2017 17:50:11 +0000 (19:50 +0200)]
gdk: Relicense translate_wm_button_layout_to_gtk()

It is generally a good idea to license individual files under the
same terms as the project license (in particular when the mismatch
boils down to having copied the wrong license header), so relicense
the code under the LGPL.

https://bugzilla.gnome.org/show_bug.cgi?id=781422

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Thu, 27 Apr 2017 00:58:43 +0000 (00:58 +0000)]
Update Brazilian Portuguese translation

8 years agoUpdate Polish translation
Piotr Drąg [Wed, 26 Apr 2017 17:42:55 +0000 (19:42 +0200)]
Update Polish translation

8 years agoUpdate Russian translation
Stas Solovey [Wed, 26 Apr 2017 14:44:34 +0000 (14:44 +0000)]
Update Russian translation

8 years agoScale: Fix documentation of digits per last revert
Daniel Boles [Wed, 26 Apr 2017 11:18:12 +0000 (12:18 +0100)]
Scale: Fix documentation of digits per last revert

Revert doc changes that were for the behavioural change just reverted.

Add a clarifying note that, under the original behaviour, :digits only
rounds the Adjustment if :draw-value is TRUE at the time of the change.

https://bugzilla.gnome.org/show_bug.cgi?id=781605
https://bugzilla.gnome.org/show_bug.cgi?id=358970

8 years agoRevert "Scale: Always sync ::digits to Range::round-digits"
Matthias Clasen [Wed, 26 Apr 2017 10:18:09 +0000 (06:18 -0400)]
Revert "Scale: Always sync ::digits to Range::round-digits"

This reverts commit 4a6bd134bdc192b4830a1c6228e27332d4629418.

This change in behavior broke various things.

https://bugzilla.gnome.org/show_bug.cgi?id=781605

8 years agolistbox: Properly remove placeholders
Timm Bäder [Fri, 7 Apr 2017 17:02:35 +0000 (19:02 +0200)]
listbox: Properly remove placeholders

https://bugzilla.gnome.org/show_bug.cgi?id=778617

8 years agospinbutton: Add undershoot nodes to CSS docs
Timm Bäder [Mon, 24 Apr 2017 14:22:32 +0000 (16:22 +0200)]
spinbutton: Add undershoot nodes to CSS docs

8 years agospinbutton: Remove an unused define
Timm Bäder [Mon, 24 Apr 2017 14:22:26 +0000 (16:22 +0200)]
spinbutton: Remove an unused define

8 years agowindow: Expand CSS node docs
Timm Bäder [Mon, 24 Apr 2017 13:12:23 +0000 (15:12 +0200)]
window: Expand CSS node docs

8 years agopaned: Fix typo
Timm Bäder [Mon, 24 Apr 2017 10:00:32 +0000 (12:00 +0200)]
paned: Fix typo

8 years agoProgressBar: Update node summary per b5eb37eba4162
Daniel Boles [Tue, 25 Apr 2017 09:57:55 +0000 (10:57 +0100)]
ProgressBar: Update node summary per b5eb37eba4162

The node named "progress" is a child of the node named "trough".

8 years agoAdd a cleaned-up example for listbox DND
Matthias Clasen [Sun, 23 Apr 2017 14:39:44 +0000 (10:39 -0400)]
Add a cleaned-up example for listbox DND

I want to refer to this as an example, so make it look nice.

8 years agotestlist3: Handle dropping a row onto itself
Matthias Clasen [Sun, 23 Apr 2017 01:37:55 +0000 (21:37 -0400)]
testlist3: Handle dropping a row onto itself

Instead of spewing criticals, we should handle this
gracefully by doing nothing.

8 years agogtkplacesview.ui: Update helper label to include IPv6 addresses
Carlos Soriano [Sat, 22 Apr 2017 19:40:41 +0000 (21:40 +0200)]
gtkplacesview.ui: Update helper label to include IPv6 addresses

This is a backport from 16bce171683d58. Thing is Nautilus pulled the
code from master until now, so right now gtk-3-22 and Nautilus 3.24
differ.

Would be great to have them share the same code, and at the same time
have this small string helper issue fixed.

https://bugzilla.gnome.org/show_bug.cgi?id=781622

8 years agogtkplacesview.ui: Remove translatable from server label helper
Carlos Soriano [Sat, 22 Apr 2017 19:38:39 +0000 (21:38 +0200)]
gtkplacesview.ui: Remove translatable from server label helper

Translating it seems pointless if we can use a non-translatable example
such as gnome.org instead of foo.example.com.

This will help to make changes in here without breaking string freeze.

https://bugzilla.gnome.org/show_bug.cgi?id=781622

8 years agoRefine the listbox dnd example
Matthias Clasen [Sat, 22 Apr 2017 12:03:00 +0000 (08:03 -0400)]
Refine the listbox dnd example

Add a drag handle, and demonstrate broken offsets.

8 years agogtkplacesview: Fix unmounted open in tab/window
Carlos Soriano [Fri, 21 Apr 2017 15:58:30 +0000 (17:58 +0200)]
gtkplacesview: Fix unmounted open in tab/window

We were send the "open-location" signal without mounting first the
location if necessary, making the open in tab/window context menu not
work for those.

This patch makes sure we mount the location before emitting the signal.

https://bugzilla.gnome.org/show_bug.cgi?id=771269

8 years agoprogressbar: Fix position of text node in CSS docs
Timm Bäder [Sat, 22 Apr 2017 04:35:54 +0000 (06:35 +0200)]
progressbar: Fix position of text node in CSS docs

The text node has always been a child node of the progressbar node, not
the trough node, but the docs claimed otherwise.

8 years agoFix a typo
Matthias Clasen [Fri, 21 Apr 2017 22:27:43 +0000 (18:27 -0400)]
Fix a typo

8 years agoImplement dnd for list box rows in an example
Matthias Clasen [Fri, 21 Apr 2017 21:02:05 +0000 (17:02 -0400)]
Implement dnd for list box rows in an example

This shows very basic DND of list box rows.

8 years agoplacesview: fix testsuite
Georges Basile Stavracas Neto [Tue, 11 Apr 2017 19:46:14 +0000 (16:46 -0300)]
placesview: fix testsuite

Because the network monitor can perfectly be NULL,
the tests were failing on that for GtkPlacesView
always tries to disconnect this handler.

Fix that by only disconnecting the handler when
the network monitor exists.

https://bugzilla.gnome.org/show_bug.cgi?id=781195

8 years agoSave Changes Bug 781118 - gtk 3.22.12 quartz backend segfault
John Ralls [Mon, 10 Apr 2017 23:38:26 +0000 (16:38 -0700)]
Save Changes Bug 781118 - gtk 3.22.12 quartz backend segfault

Calling 'width' on an NSValue won't work, must call sizeValue on it.

8 years agoplaces-view: monitor network
Georges Basile Stavracas Neto [Mon, 10 Apr 2017 21:59:33 +0000 (18:59 -0300)]
places-view: monitor network

GtkPlacesView exposes local access points and network
shares transparently by using the 'network:///' URI,
which is handled by GIO.

Currently, however, it doesn't monitor the network
for new available points, such as computers that just
join the network. It may happen too that the backend
won't find all the networks before the network enumeration
finishes.

Fix that by keeping a file monitor inspecting the network
uri, and update the places list when that happens.

https://bugzilla.gnome.org/show_bug.cgi?id=781162

8 years agoUpdate Croatian translation
gogo [Mon, 10 Apr 2017 20:43:09 +0000 (20:43 +0000)]
Update Croatian translation

8 years agoUpdate Croatian translation
gogo [Mon, 10 Apr 2017 20:39:13 +0000 (20:39 +0000)]
Update Croatian translation

8 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 9 Apr 2017 10:01:38 +0000 (13:01 +0300)]
Update Latvian translation

8 years ago3.22.12
Matthias Clasen [Sat, 8 Apr 2017 19:15:58 +0000 (15:15 -0400)]
3.22.12

8 years agoUpdate Greek translation
Tom Tryfonidis [Sat, 8 Apr 2017 16:36:15 +0000 (16:36 +0000)]
Update Greek translation

8 years agoflowbox: don’t try to focus or draw NULL widgets
Matthias Clasen [Thu, 6 Apr 2017 00:10:09 +0000 (20:10 -0400)]
flowbox: don’t try to focus or draw NULL widgets

Rubberbanding over an empty area results in warnings, due to the code
trying to focus and queue a null pointer for drawing.

https://bugzilla.gnome.org/show_bug.cgi?id=780734

8 years agogtkheaderbar: add style classes to all title buttons
Alberts Muktupāvels [Thu, 6 Apr 2017 08:16:12 +0000 (11:16 +0300)]
gtkheaderbar: add style classes to all title buttons

Commit b187773053098cca1b7c23e04e096d47fbb65a5f added CSS style
classes for minimize, maximize and close buttons. Add similar classes
also to icon and menu buttons.

https://bugzilla.gnome.org/show_bug.cgi?id=780944

8 years agodocs: Use https for more links
Jeremy Bicha [Mon, 3 Apr 2017 17:06:51 +0000 (13:06 -0400)]
docs: Use https for more links

https://bugzilla.gnome.org/show_bug.cgi?id=780878

8 years agomir: clean up an ugly function
William Hua [Mon, 3 Apr 2017 16:59:50 +0000 (12:59 -0400)]
mir: clean up an ugly function

8 years agogdkwindow: different displays, different classes
Olivier Fourdan [Tue, 28 Mar 2017 09:10:05 +0000 (11:10 +0200)]
gdkwindow: different displays, different classes

GdkWindow's before_process_all_updates() and after_process_all_updates()
wrongly assume that all displays are from the same class, which is not
the case if for example a client open different displays with different
backends such as X11 and Wayland.

Use the actual class for each display in the display list to avoid a
crash when mixing displays from different classes.

Fix suggested by Christian Persch <chpe@gnome.org> in bug #776472.

https://bugzilla.gnome.org/show_bug.cgi?id=776472

8 years agoIgnore deprecation warnings for g_object_newv()
Emmanuele Bassi [Sun, 2 Apr 2017 15:36:07 +0000 (16:36 +0100)]
Ignore deprecation warnings for g_object_newv()

GLib has deprecated GParameter and g_object_newv(); until we switch to
the new g_object_new_with_properties() API, and bump GLib required
version, we should simply ignore the compiler warnings.

8 years agoOptionally depend on sassc to generate the theme CSS
Emmanuele Bassi [Tue, 14 Mar 2017 16:35:58 +0000 (16:35 +0000)]
Optionally depend on sassc to generate the theme CSS

Instead of using Ruby/Sass to generate the CSS from SCSS files, we can
use the faster and more lightweight libsass/sassc binary.

We can keep the CSS files in Git to make it easier to dist GTK+, but we
can add rules to ensure they get rebuilt if the source SCSS changes.

https://bugzilla.gnome.org/show_bug.cgi?id=780041

8 years agoReplace NSScreen:userSpaceScaleFactor, deprecated since MacOS X 10.7.
John Ralls [Mon, 3 Apr 2017 01:16:59 +0000 (18:16 -0700)]
Replace NSScreen:userSpaceScaleFactor, deprecated since MacOS X 10.7.

userSpaceScaleFactor is not compatible with high-resolution (aka HiDPI)
displays.

8 years agoAdd missing file and correct some warnings from quartz: Add monitor support.
John Ralls [Mon, 3 Apr 2017 00:55:55 +0000 (17:55 -0700)]
Add missing file and correct some warnings from quartz: Add monitor support.

8 years agoquartz: Add a forgotten file
Matthias Clasen [Sat, 1 Apr 2017 21:40:53 +0000 (17:40 -0400)]
quartz: Add a forgotten file

8 years agoquartz: Add monitor support
Matthias Clasen [Fri, 10 Mar 2017 13:48:36 +0000 (08:48 -0500)]
quartz: Add monitor support

This is a backport of a patch by Tom Schoonjans,

https://bugzilla.gnome.org/show_bug.cgi?id=779184

8 years agomir: set application name when creating connection
William Hua [Sat, 1 Apr 2017 14:04:50 +0000 (10:04 -0400)]
mir: set application name when creating connection

8 years agomir: remove keymap and input device state warnings
William Hua [Fri, 31 Mar 2017 21:35:49 +0000 (17:35 -0400)]
mir: remove keymap and input device state warnings

8 years agomir: re-write settings implementation
William Hua [Fri, 31 Mar 2017 19:14:16 +0000 (15:14 -0400)]
mir: re-write settings implementation

8 years agoflowbox: don’t select when rubberbanding over nothing
Ernestas Kulik [Thu, 30 Mar 2017 19:29:57 +0000 (22:29 +0300)]
flowbox: don’t select when rubberbanding over nothing

When rubberbanding over an empty area, everything is selected on gesture
end, which is a bit counter-intuitive.

https://bugzilla.gnome.org/show_bug.cgi?id=780735