[gimp/gimp-2-6] Bug 563029 - Closing maximized image doesn't restore document window size
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Subject: [gimp/gimp-2-6] Bug 563029 - Closing maximized image doesn't restore document window size
- Date: Wed, 17 Jun 2009 15:31:44 -0400 (EDT)
commit 1d98b2bc2fb5cd69008b299e7c0c3752c18f4257
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 31b425b..a58ed52 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -1376,6 +1376,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]