diff options
Diffstat (limited to 'shell')
-rw-r--r-- | 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 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", |