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:
Alx Sa 2025-06-29 10:43:48 +00:00
commit bc388d2302

View file

@ -462,10 +462,8 @@ gimp_tool_palette_add_button (GimpToolPalette *palette,
gtk_widget_show (GTK_WIDGET (tool_button));
g_object_bind_property (tool_item, "shown",
tool_button, "visible-horizontal",
G_BINDING_SYNC_CREATE);
g_object_bind_property (tool_item, "shown",
tool_button, "visible-vertical",
tool_button, "visible",
G_BINDING_DEFAULT |
G_BINDING_SYNC_CREATE);
button = gtk_bin_get_child (GTK_BIN (tool_button));