[gimp] Bug 563029 - Closing maximized image doesn't restore document window size



commit d93941df7c7035da0ded7fe7f30e261d12076401
Author: Michael Natterer <mitch gimp org>
Date:   Wed Jun 17 21:29:08 2009 +0200

    Bug 563029 - Closing maximized image doesn't restore document window size
    
    (gimp_display_shell_empty): Call gtk_window_unmaximize() before
    setting the empty display's size.

 app/display/gimpdisplayshell.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index 25e2af3..fb1f97b 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -1445,6 +1445,7 @@ gimp_display_shell_empty (GimpDisplayShell *shell)
 
   gimp_display_shell_expose_full (shell);
 
+  gtk_window_unmaximize (GTK_WINDOW (shell));
   gtk_window_resize (GTK_WINDOW (shell), width, height);
 
   /*  update the ui managers  */



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