Piotr Drąg
fff2fabd7a
Update Polish translation
2018-07-29 20:33:24 +02:00
Matthias Clasen
73b45ec77e
Migration guide: mention size-allocate
...
Document the new argument here.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1245
2018-07-29 09:11:39 -04:00
Matthias Clasen
8f95a5980e
Remove an outdated comment
...
We no longer have semi-private headers.
2018-07-29 08:45:34 -04:00
Christian Hergert
87d33470ed
vulkan: fix warning from g_clear_pointer() changes
2018-07-28 10:54:14 -07:00
Christian Hergert
002e48c469
imwayland: fix potential leak of attr list
...
This fixes a potential leak of a PangoAttrList that is set when chaining
up to the parent get_preedit_string(). We check to see if the attr list
was created and reuse it instead of leaking the previous value.
2018-07-28 10:54:14 -07:00
Aurimas Černius
f33549da91
Updated Lithuanian translation
2018-07-28 20:35:20 +03:00
Matthias Clasen
f3f32b47cc
Merge branch 'wip/gtk-menu-popup-no-more' into 'master'
...
Remove legacy GtkMenu popup APIs
See merge request GNOME/gtk!270
2018-07-27 18:57:24 +00:00
Matthias Clasen
2c5f2a2bcb
Merge branch 'color-picker' into 'master'
...
Color picker
See merge request GNOME/gtk!273
2018-07-27 18:35:05 +00:00
Matthias Clasen
b6d990af25
tests: Update a11y tests
...
Some things changed.
2018-07-27 14:23:20 -04:00
Matthias Clasen
16171a232a
Add a color picker implementation for gnome-shell
...
This adds a GtkColorPicker implementation that talks
to gnome-shell to get a color.
2018-07-27 14:23:20 -04:00
Matthias Clasen
031b5cad46
Add a color picker implementation for portals
...
This adds a GtkColorPicker implementation that talks
to the screnshot portal to get a color.
2018-07-27 14:23:20 -04:00
Matthias Clasen
984274497d
color editor: Add a color picker button
...
The button is shown if we have a GtkColorPicker implemenation.
Currently, there are none, so the button is never shown.
2018-07-27 14:23:20 -04:00
Matthias Clasen
0cc0714312
Add a color picker interface
...
This will be used in the color chooser, in subsequent commits.
2018-07-27 14:23:19 -04:00
Matthias Clasen
766e2b1e63
testsuite: Update the list of used icons
...
We use some more now...
2018-07-27 13:37:00 -04:00
Matthias Clasen
c8be597b7f
Bring back gtk-orientation icons
...
These are used in the page setup dialog, so we can't
just drop them.
2018-07-27 13:35:29 -04:00
Jonas Ådahl
4497ac7d75
menu: Remove legacy popup APIs
...
Remove gtk_menu_popup_for_device() and gtk_menu_popup(), as they cannot
be implemented in a portable manner by all backends. They have been
deprecated for proper alternative APIs for some time, so lets remove
them now before its too late.
While at it, fix the example documentation for mapping a menu.
2018-07-27 17:16:44 +02:00
Jonas Ådahl
af21583d4d
tests: Stop using legacy gtk_menu_popup API
...
Use the new portable APIs, so that menus will be positioned properly on
all backends.
2018-07-27 17:16:44 +02:00
segfault
791da76ae1
gtkplacessidebar: Show busy spinner in sidebar row during mount ops
2018-07-27 16:44:50 +02:00
Matthias Clasen
d398c00d20
Fix up the resource generation for icons
...
The script was looking in the wrong subdirectories.
2018-07-27 09:08:27 -04:00
Matthias Clasen
cb247276f5
Add emoji category icons
...
This is a temporary measure to make the check-icon-names
test not fail in ci. We still have to figure out the best
way to include a core icontheme with GTK+.
2018-07-27 08:05:55 -04:00
Matthias Clasen
c6141dffd2
Keep picking up icons as resources
...
We may need to revisit this at some point. For now,
keep the mechanism in place.
This is a partial revert of 806c659efe
.
2018-07-27 08:05:55 -04:00
Daniel Mustieles
755d8f8332
Updated Spanish translation
2018-07-27 13:40:20 +02:00
Matthias Clasen
32de29bb68
testsuite: Sort icon names
...
This is easier to keep track of.
2018-07-27 07:12:23 -04:00
Timm Bäder
540cb58169
Merge branch 'patch-1' into 'master'
...
doc: Fix there/their typo
See merge request GNOME/gtk!274
2018-07-27 04:47:04 +00:00
Alcaro
a1a6e6a36a
doc: Fix there/their typo
2018-07-27 02:28:45 +00:00
Timm Bäder
798ad9f62a
Merge branch 'g-clear-pointer-propagate' into 'master'
...
Remove GDestroyNotify casts in g_clear_pointer() uses
See merge request GNOME/gtk!269
2018-07-26 07:34:12 +00:00
Matthias Clasen
ad6255a841
Merge branch 'xfixes-timestamp' into 'master'
...
x11: Ignore old XFixesSelectionNotify events
Closes #14
See merge request GNOME/gtk!259
2018-07-25 11:21:01 +00:00
Ernestas Kulik
6adaf7c33d
Remove GDestroyNotify casts in g_clear_pointer() uses
...
GLib master propagates argument types in g_clear_pointer(), which causes
the usual function pointer casts to GDestroyNotify to trip compiler
warnings. Additionally, this commit changes some cleanup functions where
appropriate (wl_data_source_destroy ->
gtk_primary_selection_source_destroy for struct
gtk_primary_selection_source).
2018-07-25 10:05:39 +03:00
Benjamin Otte
95a4eff6ba
render: Make gtk_render_icon() use the snapshot API
...
This removes a lot of duplicated code.
2018-07-24 20:55:45 +02:00
Benjamin Otte
9675c99043
render: Make gtk_render_frame() and gtk_render_focus() use the snapshot API
...
This removes a lot of duplicated code.
2018-07-24 20:55:45 +02:00
Benjamin Otte
76d0e1e398
API: Remove gtk_render_frame_gap()
...
That function does not make sense at all in a CSS world. So better don't
support it anymore.
2018-07-24 20:55:45 +02:00
Benjamin Otte
14408b7485
render: Make gtk_render_background() use the snapshot API
...
This removes a lot of duplicated code.
2018-07-24 20:55:45 +02:00
Benjamin Otte
2a11baf6ea
render: Make gtk_render_check/arrow/handle() use the snapshot API
...
This removes a lot of duplicated code.
2018-07-24 20:55:45 +02:00
Benjamin Otte
51d40ca023
render: Make gtk_render_layout() use the snapshot API
...
This removes a lot of duplicated code.
2018-07-24 20:55:45 +02:00
Benjamin Otte
5d9d73b090
testsuite: Fix DragContext => Drag renaming
2018-07-24 20:55:45 +02:00
Benjamin Otte
5f7e093168
gtk: Move GtkGesture declaration to gtktypes.h
...
That way, headers can use the gesture type without having to include
gtkgesture.h
2018-07-24 20:55:45 +02:00
Benjamin Otte
0f70e6d70a
docs: Remove remains of Mir backend
2018-07-24 20:55:45 +02:00
Benjamin Otte
259be23ff2
broadway: Remove unused variable
2018-07-24 20:55:45 +02:00
Daniel Șerbănescu
337eedb513
Update Romanian translation
2018-07-24 18:09:59 +00:00
Nirbheek Chauhan
185354555c
Merge branch 'nirbheek/misc-meson-fixes' into 'master'
...
Fix broadway backend build and graphene as a subproject
Closes #1197 and #1218
See merge request GNOME/gtk!265
2018-07-24 08:29:34 +00:00
Daniel Mustieles
29905d1ce6
Updated Spanish translation
2018-07-24 10:03:20 +02:00
Timm Bäder
73dd73c859
Merge branch 'just-popover-menu-things' into 'master'
...
Post-gizmo GtkPopoverMenu fixes
See merge request GNOME/gtk!264
2018-07-23 18:55:55 +00:00
Nirbheek Chauhan
cfb0df14cc
meson: Update pango and gdk-pixbuf wrap locations
...
See: https://gitlab.gnome.org/GNOME/gtk/issues/1219
2018-07-23 20:17:04 +05:30
Nirbheek Chauhan
b343abfa51
meson: Support graphene as a fallback dependency
...
Don't assume graphene_dep is always a pkg-config dependency.
Closes https://gitlab.gnome.org/GNOME/gtk/issues/1197
2018-07-23 20:17:04 +05:30
Nirbheek Chauhan
5df4d27752
meson: libgdk-broadway.a depends on broadwayjs.h
...
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1218
Also fix another dependency error I found.
2018-07-23 20:15:44 +05:30
Daniel Mustieles
bbf5d142b3
Updated Spanish translation
2018-07-23 12:10:24 +02:00
Ernestas Kulik
1fbbaef49e
testpopover: Don’t set margin in menu box
...
The gizmo already provides sufficient padding.
2018-07-23 13:05:57 +03:00
Ernestas Kulik
d88268c142
gtkpopovermenu: Conditionally chain up in gtk_popover_menu_add()
...
Otherwise the stack gets parented to the wrong widget and the contents
are never drawn.
2018-07-23 13:01:01 +03:00
Ernestas Kulik
49ae68c2c7
gtkpopovermenu: Drop call to gtk_widget_show()
...
The stack is already visible.
2018-07-23 13:00:11 +03:00
Matthias Clasen
1d72e3e193
Drop builtin icon test
...
We don't have these icons anymore.
2018-07-22 17:16:20 +00:00