aboutsummaryrefslogtreecommitdiffstats
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:52:06 +0800
commit98b9cd376c94e2f2b516259e007d5953424f56d0 (patch)
treec2b2efd886a4f97a2628adba97234b8a12eff441
parent56592175f6898a48eb840ddcfb0dcc9ad4c98038 (diff)
downloadgsoc2013-evolution-98b9cd376c94e2f2b516259e007d5953424f56d0.tar
gsoc2013-evolution-98b9cd376c94e2f2b516259e007d5953424f56d0.tar.gz
gsoc2013-evolution-98b9cd376c94e2f2b516259e007d5953424f56d0.tar.bz2
gsoc2013-evolution-98b9cd376c94e2f2b516259e007d5953424f56d0.tar.lz
gsoc2013-evolution-98b9cd376c94e2f2b516259e007d5953424f56d0.tar.xz
gsoc2013-evolution-98b9cd376c94e2f2b516259e007d5953424f56d0.tar.zst
gsoc2013-evolution-98b9cd376c94e2f2b516259e007d5953424f56d0.zip
Bug 673955 - Can not display email and calendar in separate windows anymore
(cherry picked from commit 8a41cca1c1977b4eb358dba727bade037065fe61)
-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",