mirror of https://github.com/GNOME/gimp.git
Bug 590638 – Changing palettes from list to grid view loses "locked to dock" status
Transfer the 'locked' state to the newly created dockable in dockable_toggle_view_cmd_callback().
This commit is contained in:
parent
3e1c13bc96
commit
45529d4886
|
@ -190,6 +190,9 @@ dockable_toggle_view_cmd_callback (GtkAction *action,
|
|||
GimpDocked *new;
|
||||
gboolean show;
|
||||
|
||||
gimp_dockable_set_locked (GIMP_DOCKABLE (new_dockable),
|
||||
gimp_dockable_is_locked (dockable));
|
||||
|
||||
old = GIMP_DOCKED (gtk_bin_get_child (GTK_BIN (dockable)));
|
||||
new = GIMP_DOCKED (gtk_bin_get_child (GTK_BIN (new_dockable)));
|
||||
|
||||
|
|
Loading…
Reference in New Issue