mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
Merge branch 'alxsa-tool-palette-visibility' into 'master'
Draft: Issue #9813: Update tool item visibility code Closes #9813 See merge request GNOME/gimp!2254
This commit is contained in:
commit
bc388d2302
1 changed files with 2 additions and 4 deletions
|
@ -462,10 +462,8 @@ gimp_tool_palette_add_button (GimpToolPalette *palette,
|
||||||
gtk_widget_show (GTK_WIDGET (tool_button));
|
gtk_widget_show (GTK_WIDGET (tool_button));
|
||||||
|
|
||||||
g_object_bind_property (tool_item, "shown",
|
g_object_bind_property (tool_item, "shown",
|
||||||
tool_button, "visible-horizontal",
|
tool_button, "visible",
|
||||||
G_BINDING_SYNC_CREATE);
|
G_BINDING_DEFAULT |
|
||||||
g_object_bind_property (tool_item, "shown",
|
|
||||||
tool_button, "visible-vertical",
|
|
||||||
G_BINDING_SYNC_CREATE);
|
G_BINDING_SYNC_CREATE);
|
||||||
|
|
||||||
button = gtk_bin_get_child (GTK_BIN (tool_button));
|
button = gtk_bin_get_child (GTK_BIN (tool_button));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue