[gimp] Bug 680621 - View menu options are discarded after closing an image



commit 54cf6c6e9f2d9f64f4fe4145f14a9f278df876db
Author: Michael Natterer <mitch gimp org>
Date:   Mon Nov 12 00:57:43 2012 +0100

    Bug 680621 - View menu options are discarded after closing an image
    
    Sync GimpDisplayShell's properties with the default values when it's
    emptied and turns into the empty display, so the default values used
    when filling it with an image are displayed while it's empty.

 app/display/gimpdisplayshell.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index f833c92..60516d1 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -1318,6 +1318,8 @@ gimp_display_shell_empty (GimpDisplayShell *shell)
 
   gimp_display_shell_unset_cursor (shell);
 
+  gimp_display_shell_sync_config (shell, shell->display->config);
+
   gimp_display_shell_appearance_update (shell);
 #if 0
   gimp_help_set_help_data (shell->canvas,



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