aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-04-12 07:51:05 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-04-12 07:51:50 +0800
commit8a41cca1c1977b4eb358dba727bade037065fe61 (patch)
treece17e4e091893479249a800ddc35505fa7f2157e /shell
parent49787d04feef8ff699326e54d5991a36d8ef74bb (diff)
downloadgsoc2013-evolution-8a41cca1c1977b4eb358dba727bade037065fe61.tar.gz
gsoc2013-evolution-8a41cca1c1977b4eb358dba727bade037065fe61.tar.zst
gsoc2013-evolution-8a41cca1c1977b4eb358dba727bade037065fe61.zip
Bug 673955 - Can not display email and calendar in separate windows anymore
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-window-private.c7
1 files changed, 6 insertions, 1 deletions
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",