[evolution/gnome-3-4] Bug 673955 - Can not display email and calendar in separate windows anymore



commit 98b9cd376c94e2f2b516259e007d5953424f56d0
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Apr 11 19:51:05 2012 -0400

    Bug 673955 - Can not display email and calendar in separate windows anymore
    
    (cherry picked from commit 8a41cca1c1977b4eb358dba727bade037065fe61)

 shell/e-shell-window-private.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 54a1e8e..572fbaf 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -408,10 +408,15 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
 
 	settings = g_settings_new ("org.gnome.evolution.shell");
 
+	/* Use G_SETTINGS_BIND_GET_NO_CHANGES so shell windows
+	 * are initialized to the most recently used shell view,
+	 * but still allows different windows to show different
+	 * views at once. */
 	g_settings_bind (
 		settings, "default-component-id",
 		shell_window, "active-view",
-		G_SETTINGS_BIND_DEFAULT);
+		G_SETTINGS_BIND_DEFAULT |
+		G_SETTINGS_BIND_GET_NO_CHANGES);
 
 	g_settings_bind (
 		settings, "folder-bar-width",



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