[gimp] Bug 590638 – Changing palettes from list to grid view loses "locked to dock" status



commit 45529d4886572c049537d18324e6bac82afb8c64
Author: Sven Neumann <sven gimp org>
Date:   Mon Aug 3 22:14:49 2009 +0200

    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().

 app/actions/dockable-commands.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/dockable-commands.c b/app/actions/dockable-commands.c
index 2e459ca..7bcb6ef 100644
--- a/app/actions/dockable-commands.c
+++ b/app/actions/dockable-commands.c
@@ -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)));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]