[gimp/gimp-2-8] Bug 680621 - View menu options are discarded after closing an image
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 680621 - View menu options are discarded after closing an image
- Date: Mon, 12 Nov 2012 00:01:10 +0000 (UTC)
commit 5db271cc526c52db99bdac0130d4097cd2717dd4
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.
(cherry picked from commit 54cf6c6e9f2d9f64f4fe4145f14a9f278df876db)
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 0cef976..3345fc9 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -1319,6 +1319,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]