Timm Bäder [Sun, 10 Feb 2019 09:27:27 +0000 (10:27 +0100)]
rendericon: Ignore transparent icons
If the recoloring would end up multiplying the alpha component with 0
anyway, just skip drawing anything altogether.
This increases the icon count in the switch demo of the fishbowl from
~260 to ~280 on my system.
Timm Bäder [Tue, 5 Feb 2019 15:05:06 +0000 (16:05 +0100)]
GdkDisplay: Use a GQueue for the events queue
Jiri Grönroos [Sat, 9 Feb 2019 18:38:51 +0000 (18:38 +0000)]
Update Finnish translation
(cherry picked from commit
68a7da71e32187dad70fb5913f20bff6e8476ec8)
Fran Dieguez [Sat, 9 Feb 2019 15:35:06 +0000 (15:35 +0000)]
Update Galician translation
Matthias Clasen [Sat, 9 Feb 2019 15:09:59 +0000 (15:09 +0000)]
Merge branch 'wip/jimmac/app-icons' into 'master'
Wip/jimmac/app icons
Closes #1658
See merge request GNOME/gtk!572
Matthias Clasen [Sat, 9 Feb 2019 14:20:25 +0000 (09:20 -0500)]
flatpak: Stop renaming icons
We are now installing properly named icons, no need to
rename anymore.
This was causing ci to fail.
Fran Dieguez [Sat, 9 Feb 2019 12:43:44 +0000 (12:43 +0000)]
Update Galician translation
Matthias Clasen [Sat, 9 Feb 2019 02:38:14 +0000 (21:38 -0500)]
Fix icon installation
This makes the apps pick up their awesome new icons.
Carlos Garnacho [Sat, 9 Feb 2019 01:06:51 +0000 (01:06 +0000)]
Merge branch 'wip/carlosg/toggle-osk-sparingly-master' into 'master'
imwayland: Toggle OSK more sparingly
Closes #1277
See merge request GNOME/gtk!571
Carlos Garnacho [Fri, 8 Feb 2019 22:11:48 +0000 (23:11 +0100)]
imwayland: Toggle OSK more sparingly
Specifically it is avoided to be toggled if:
- Just received focus (in order to preserve OSK state across focus changes)
- Moving cursor around. Still allow some jitter as perfect accuracy is not
possible.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1277
Piotr Drąg [Fri, 8 Feb 2019 19:17:25 +0000 (20:17 +0100)]
Update Polish translation
Matthias Clasen [Fri, 8 Feb 2019 18:48:11 +0000 (13:48 -0500)]
Avoid introspection warnings
Unless we keep the parameter names in headers sources and
docs the same, some tools will complain.
Piotr Drąg [Fri, 8 Feb 2019 18:24:53 +0000 (19:24 +0100)]
Use Unicode typography in new translatable strings
See https://developer.gnome.org/hig/stable/typography.html
Piotr Drąg [Fri, 8 Feb 2019 18:16:35 +0000 (19:16 +0100)]
Update POTFILES.in
Benjamin Otte [Fri, 8 Feb 2019 17:18:55 +0000 (18:18 +0100)]
revealer: Use gtk_widget_set_overflow()
Benjamin Otte [Fri, 8 Feb 2019 17:16:35 +0000 (18:16 +0100)]
treeview: Use gtk_widget_set_overflow()
We need to clip again so we don't overdraw the headers, but setting
overflow does the right thing with header widgetry.
Benjamin Otte [Fri, 8 Feb 2019 17:16:16 +0000 (18:16 +0100)]
textview: Use gtk_widget_set_overflow()
Benjamin Otte [Fri, 8 Feb 2019 17:16:07 +0000 (18:16 +0100)]
magnifier: Use gtk_widget_set_overflow()
Benjamin Otte [Fri, 8 Feb 2019 17:15:57 +0000 (18:15 +0100)]
iconview: Use gtk_widget_set_overflow()
Benjamin Otte [Fri, 8 Feb 2019 17:15:50 +0000 (18:15 +0100)]
paned: Use gtk_widget_set_overflow()
Benjamin Otte [Fri, 8 Feb 2019 17:05:40 +0000 (18:05 +0100)]
viewport: Use gtk_widget_set_overflow()
Benjamin Otte [Fri, 8 Feb 2019 17:02:40 +0000 (18:02 +0100)]
widget: Add gtk_widget_set_overflow()
This adds a simple abilities for widget implementations to clip their
content. See future commits for users of this.
Matthias Clasen [Fri, 8 Feb 2019 15:33:11 +0000 (10:33 -0500)]
builder-tool: Fix preserving properties
We were looking at the wrong class names here, we need
to look at the owner type to match against our list.
This fixes problems where gtk-builder-tool simplify
inadvertedly loses hexpand or vexpand settings, messing
up layout, as recently happend in gtk4-widget-factory.
Matthias Clasen [Fri, 8 Feb 2019 15:32:23 +0000 (10:32 -0500)]
widget-factory: Reinstate some lost properties
The code in gtk-builder-tool to preserve properties
has a bug, It lost these.
Matthias Clasen [Fri, 8 Feb 2019 15:01:22 +0000 (15:01 +0000)]
Merge branch 'idle-test-recentmanager' into 'master'
tests: Bulk add recent items in an idle
See merge request GNOME/gtk!568
Matthias Clasen [Fri, 8 Feb 2019 14:56:14 +0000 (09:56 -0500)]
a11y tests: Update actionbar output
This changed with box packing changes.
Matthias Clasen [Fri, 8 Feb 2019 14:40:27 +0000 (09:40 -0500)]
a11y tests: Update dialog-related output
There was a change in internal dialog structure that
is reflected in this output.
Matthias Clasen [Fri, 8 Feb 2019 14:51:02 +0000 (09:51 -0500)]
a11y tests: Update assistant ui file
The conversion was done with gtk-builder-tool simplify --3to4.
Matthias Clasen [Fri, 8 Feb 2019 14:29:01 +0000 (09:29 -0500)]
a11y tests: Update stack ui file
The conversion was done with gtk-builder-tool simplify --3to4.
Matthias Clasen [Fri, 8 Feb 2019 14:49:54 +0000 (09:49 -0500)]
assistant: Fix a refcounting oversight
The assistant needs to hold a ref on the pages.
Emmanuele Bassi [Fri, 8 Feb 2019 14:37:21 +0000 (14:37 +0000)]
tests: Bulk add recent items in an idle
Instead of adding them and waiting for the changed signal to be emitted
in the main loop, there might be a race where the change signal is
emitted before we have a chance of spinning the loop.
Matthias Clasen [Fri, 8 Feb 2019 14:04:08 +0000 (09:04 -0500)]
notify test: Omit GtkStackPage::position
We can't change positions without a stack.
Matthias Clasen [Fri, 8 Feb 2019 14:03:45 +0000 (09:03 -0500)]
stack: Fix up property notification
This was showing up in testsuite failures.
Matthias Clasen [Fri, 8 Feb 2019 14:03:18 +0000 (09:03 -0500)]
assistant: Fix up property notification
This was showing up in testsuite failures.
Matthias Clasen [Fri, 8 Feb 2019 13:22:35 +0000 (08:22 -0500)]
stack: Make the child meta work without stack
We have tests that expect this to work, like defaultvalue.
Matthias Clasen [Fri, 8 Feb 2019 13:22:06 +0000 (08:22 -0500)]
shortcuts window: Fix a leftover use of child properties
These properties are gone, use the child meta here.
Matthias Clasen [Fri, 8 Feb 2019 13:21:42 +0000 (08:21 -0500)]
assistant: Fix the default value of has-padding
This was showing up in the defaultvalue test.
Matthias Clasen [Fri, 8 Feb 2019 12:55:41 +0000 (07:55 -0500)]
Fix compiler warnings
Fallout from recent GtkStackPage changes.
Emmanuele Bassi [Fri, 8 Feb 2019 10:49:24 +0000 (10:49 +0000)]
ci: Update the test suite name
The project name is "gtk", not "gtk+".
Matthias Clasen [Fri, 8 Feb 2019 05:22:30 +0000 (05:22 +0000)]
Merge branch 'stackpage' into 'master'
Stack page
See merge request GNOME/gtk!564
Matthias Clasen [Thu, 7 Feb 2019 20:34:54 +0000 (15:34 -0500)]
builder-tool: Convert assistant pages too
Do the same transformation for GtkAssistantPage that
we already do for GtkStackPage, to transform GTK 3 .ui
files to GTK 4 ways of doing things.
Matthias Clasen [Thu, 7 Feb 2019 20:18:49 +0000 (15:18 -0500)]
assistant: Convert child properties to a child meta object
Turn GtkAssistantPage into a public object holding the
former child properties.
Matthias Clasen [Thu, 7 Feb 2019 18:12:07 +0000 (13:12 -0500)]
migration guide: Mention --3to4
Matthias Clasen [Thu, 7 Feb 2019 18:04:57 +0000 (13:04 -0500)]
Some small additions to the migration guide
Mention some of the recent changes, such as GtkButtonBox,
GtkBox, child properties.
Matthias Clasen [Thu, 7 Feb 2019 08:23:02 +0000 (03:23 -0500)]
Update ui files to new stack syntax
This conversion was done with the help of gtk4-builder-tool.
Matthias Clasen [Thu, 7 Feb 2019 17:24:49 +0000 (12:24 -0500)]
builder tool: Operate on multiple files
There is no strong reason to disallow this, when
the --replace option is used.
Matthias Clasen [Thu, 7 Feb 2019 16:57:09 +0000 (11:57 -0500)]
Document --3to4
Matthias Clasen [Thu, 7 Feb 2019 12:12:15 +0000 (07:12 -0500)]
builder tool: Rewrite the simplify command
Rewrite the builder-tool simplify command to have
a full parse tree around, and perform simplifications
on that tree. This lets us rewrite GtkStack and turn
child properties into child meta objects.
Matthias Clasen [Thu, 7 Feb 2019 09:12:09 +0000 (04:12 -0500)]
tools: Split gtk-builder-tool
Put each command into its own file. This is in
preparation for redoing the simplify command.
Matthias Clasen [Wed, 6 Feb 2019 23:53:06 +0000 (18:53 -0500)]
builder: Allow specifying objects inline
In addition to <property name="foo">bar</property> referring
to an object with ID bar, we now also parse
<property name="foo"><object>...
to specify a property 'inline'.
Matthias Clasen [Wed, 6 Feb 2019 17:54:18 +0000 (12:54 -0500)]
stack: Convert child properties to a child meta object
Create a GtkStackPage public object which holds the former
child properties of GtkStack.
Adjust all callers.
Piotr Drąg [Wed, 6 Feb 2019 20:55:06 +0000 (21:55 +0100)]
Update Polish translation
Piotr Drąg [Wed, 6 Feb 2019 20:52:29 +0000 (21:52 +0100)]
Update Polish translation
Jakub Steiner [Wed, 6 Feb 2019 14:37:25 +0000 (15:37 +0100)]
app icons: use new style
- update symbolic and fullcolor icons to use the new style
See https://gitlab.gnome.org/GNOME/Initiatives/issues/2 for more info.
Fixes issue #1658
Jakub Steiner [Wed, 6 Feb 2019 13:34:55 +0000 (14:34 +0100)]
Adwaita: menu border-radius fix from gtk3
- avoid painting over the rounded corners with background
Jakub Steiner [Wed, 6 Feb 2019 12:46:00 +0000 (13:46 +0100)]
Adwaita: sync with stable styling
- fold over changes in teh stable brnch to get the same look
fixes issue #1656
Daniel Mustieles [Wed, 6 Feb 2019 11:11:09 +0000 (12:11 +0100)]
Updated Spanish translation
Daniel Mustieles [Wed, 6 Feb 2019 11:09:19 +0000 (12:09 +0100)]
Updated Spanish translation
Daniel Mustieles [Wed, 6 Feb 2019 10:42:45 +0000 (11:42 +0100)]
Updated Spanish translation
Emmanuele Bassi [Wed, 6 Feb 2019 09:42:50 +0000 (10:42 +0100)]
Rename project files
Meson and DOAP are the last holdovers for the old "gtk+" name.
Emmanuele Bassi [Wed, 6 Feb 2019 09:42:33 +0000 (10:42 +0100)]
docs: Fix project name for translators
Emmanuele Bassi [Wed, 6 Feb 2019 09:41:49 +0000 (10:41 +0100)]
tests: Fix comment for accuracy
The command line for compiling testwindowsize has changed.
Emmanuele Bassi [Wed, 6 Feb 2019 09:40:51 +0000 (10:40 +0100)]
docs: Fix references to pkg-config files
The pkg-config files for GDK were dropped in 4.0, and now the GTK
pkg-config files have been renamed.
Emmanuele Bassi [Wed, 6 Feb 2019 09:39:27 +0000 (10:39 +0100)]
docs: Fix GTK links and locations
Emmanuele Bassi [Wed, 6 Feb 2019 09:37:24 +0000 (10:37 +0100)]
Rename more GSources to use `gtk`
Rico Tzschichholz [Wed, 6 Feb 2019 08:53:17 +0000 (09:53 +0100)]
Adjust some more pkg-config references for gtk+ to gtk rename
See https://gitlab.gnome.org/GNOME/gtk/issues/1439
Matthias Clasen [Wed, 6 Feb 2019 08:26:55 +0000 (08:26 +0000)]
Merge branch 'less-invisible' into 'master'
Less invisible
See merge request GNOME/gtk!562
Matthias Clasen [Wed, 6 Feb 2019 07:06:19 +0000 (02:06 -0500)]
Make GtkInvisible private
We can't quite get rid of its use in the inspector,
but we can make it private.
Matthias Clasen [Tue, 5 Feb 2019 21:52:53 +0000 (16:52 -0500)]
Make the invisible invisible
The change to make widgets visible by default broke GtkInvisibles
special-cased state handling and that in turn caused picking in
the inspector to break with another recent change.
This change makes the inspector pick button work again.
Balázs Úr [Tue, 5 Feb 2019 20:01:40 +0000 (20:01 +0000)]
Update Hungarian translation
Balázs Úr [Tue, 5 Feb 2019 19:57:50 +0000 (19:57 +0000)]
Update Hungarian translation
Piotr Drąg [Tue, 5 Feb 2019 17:35:55 +0000 (18:35 +0100)]
Update POTFILES.in and POTFILES.skip
Matthias Clasen [Tue, 5 Feb 2019 15:56:40 +0000 (10:56 -0500)]
printoperation-win32: Stop using an invisible
We can just as well use a GtkWindow here. We just need
a handle. Untested.
Matthias Clasen [Tue, 5 Feb 2019 15:44:36 +0000 (10:44 -0500)]
filechoosernativeportal: Stop using an invisible
A label works just as well here, it turns out.
Matthias Clasen [Tue, 5 Feb 2019 14:54:52 +0000 (09:54 -0500)]
Reduce includes of gtkinvisible.h
We want to get rid of GtkInvisible.
Timm Bäder [Tue, 5 Feb 2019 14:15:38 +0000 (15:15 +0100)]
docs: Remove reference to deleted file
Timm Bäder [Tue, 5 Feb 2019 14:14:19 +0000 (15:14 +0100)]
inspector: Remove window icon
The property does not exist anymore and the window icon has never been
used on non-x11 backends.
Timm Bäder [Tue, 5 Feb 2019 14:13:01 +0000 (15:13 +0100)]
main: Prefer implicit grab widget to target widget for motion events
When an implcit grab is going on, we don't need to consider other
widgets for motion (etc.) events.
Timm Bäder [Tue, 5 Feb 2019 14:09:59 +0000 (15:09 +0100)]
infobar: Remove an unused variable
Matthias Clasen [Tue, 5 Feb 2019 13:41:52 +0000 (08:41 -0500)]
A few forgotten button box functions
Timm Bäder [Sun, 30 Dec 2018 06:22:44 +0000 (07:22 +0100)]
window: Inline function into only caller
Timm Bäder [Sun, 30 Dec 2018 06:02:59 +0000 (07:02 +0100)]
window: Remove remaining icon_list handling
Timm Bäder [Sun, 30 Dec 2018 05:54:57 +0000 (06:54 +0100)]
window: Remove default_icon_serial
Now unused.
Timm Bäder [Sun, 30 Dec 2018 05:53:35 +0000 (06:53 +0100)]
window: Remove default icon list
Timm Bäder [Sun, 30 Dec 2018 05:48:05 +0000 (06:48 +0100)]
window: Remove icon list
Timm Bäder [Sun, 30 Dec 2018 05:40:52 +0000 (06:40 +0100)]
Remove some unnecessary gtkwindow.h includes
Timm Bäder [Sun, 30 Dec 2018 05:38:28 +0000 (06:38 +0100)]
window: Remove set_default_icon
Timm Bäder [Sun, 30 Dec 2018 05:32:31 +0000 (06:32 +0100)]
window: Remove icon property
Timm Bäder [Sun, 30 Dec 2018 05:29:12 +0000 (06:29 +0100)]
window: Remove _set_default_icon_from_file
Timm Bäder [Sun, 30 Dec 2018 05:25:57 +0000 (06:25 +0100)]
window: Remove set_icon_from_file
Not all backends support setting window icons from raw pixel data, so
remove the public API in GtkWindow for it.
Matthias Clasen [Tue, 5 Feb 2019 13:06:09 +0000 (13:06 +0000)]
Merge branch 'kill-buttonbox' into 'master'
Drop GtkButtonBox
See merge request GNOME/gtk!554
Alexander Larsson [Tue, 5 Feb 2019 13:05:34 +0000 (13:05 +0000)]
Merge branch 'master' into 'master'
Ensure focus on click ( Fix #1633 )
Closes #1633
See merge request GNOME/gtk!546
Matthias Clasen [Tue, 5 Feb 2019 12:54:35 +0000 (07:54 -0500)]
Drop gtkboxprivate.h
Not needed anymore.
Matthias Clasen [Tue, 5 Feb 2019 12:40:43 +0000 (07:40 -0500)]
Drop buttonbox from tests
Matthias Clasen [Tue, 5 Feb 2019 10:52:38 +0000 (10:52 +0000)]
Merge branch 'no-more-plus' into 'master'
Drop the "plus" from "GTK"
See merge request GNOME/gtk!558
Emmanuele Bassi [Tue, 5 Feb 2019 10:26:54 +0000 (11:26 +0100)]
glade: Drop the "plus"
From documentation and catalog description.
Emmanuele Bassi [Tue, 5 Feb 2019 10:26:20 +0000 (11:26 +0100)]
gtk: Drop the "plus"
Source names should use "[gtk]" without the plus.
Emmanuele Bassi [Tue, 5 Feb 2019 10:25:41 +0000 (11:25 +0100)]
themes: Drop the "plus"
Comments and documentation.
Emmanuele Bassi [Tue, 5 Feb 2019 10:25:15 +0000 (11:25 +0100)]
inspector: Drop the "plus"
From user-visible strings, mostly.
Emmanuele Bassi [Tue, 5 Feb 2019 09:30:33 +0000 (10:30 +0100)]
modules: Drop the plus
Use 'GTK' consistently.