From 8a41cca1c1977b4eb358dba727bade037065fe61 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 11 Apr 2012 19:51:05 -0400 Subject: Bug 673955 - Can not display email and calendar in separate windows anymore --- shell/e-shell-window-private.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c index 54a1e8e3fd..572fbaf4f3 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", -- cgit v1.2.3