[gimp/soc-2011-gimpunitentry] app: Don't disable single-window mode right before exiting



commit a159d640318698ebaa5fdf4b04612e14c9f0f5ad
Author: Martin Nordholts <martinn src gnome org>
Date:   Wed May 11 22:08:41 2011 +0200

    app: Don't disable single-window mode right before exiting
    
    Don't disable single-window mode right before exiting because the
    single-window mode dock layout is now remembered across sessions.

 app/gui/gui.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/app/gui/gui.c b/app/gui/gui.c
index f5906a7..27513e2 100644
--- a/app/gui/gui.c
+++ b/app/gui/gui.c
@@ -559,15 +559,6 @@ gui_exit_callback (Gimp     *gimp,
       return TRUE; /* stop exit for now */
     }
 
-  /* Since single-window mode is not session managed yet, force
-   * disabling of the mode before exit to prevent loss of
-   * dockables. Make sure to do this _after_ we have asked about
-   * saving unsaved images.
-   */
-  g_object_set (gui_config,
-                "single-window-mode", FALSE,
-                NULL);
-
   gimp->message_handler = GIMP_CONSOLE;
 
   gui_unique_exit ();



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