aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-sidebar.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-04 06:53:08 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-04 06:54:45 +0800
commit3d7193ad9d38264298d2767772ee57da12574c79 (patch)
tree6359e1b45aa9ce5ed5320e22711ecf77ac34be96 /modules/mail/e-mail-shell-sidebar.c
parentd94208b114ff961ad2db920cc00d93c2beb3ae48 (diff)
downloadgsoc2013-evolution-3d7193ad9d38264298d2767772ee57da12574c79.tar
gsoc2013-evolution-3d7193ad9d38264298d2767772ee57da12574c79.tar.gz
gsoc2013-evolution-3d7193ad9d38264298d2767772ee57da12574c79.tar.bz2
gsoc2013-evolution-3d7193ad9d38264298d2767772ee57da12574c79.tar.lz
gsoc2013-evolution-3d7193ad9d38264298d2767772ee57da12574c79.tar.xz
gsoc2013-evolution-3d7193ad9d38264298d2767772ee57da12574c79.tar.zst
gsoc2013-evolution-3d7193ad9d38264298d2767772ee57da12574c79.zip
Copy folder tree state of 1st window when opening new windows.
Diffstat (limited to 'modules/mail/e-mail-shell-sidebar.c')
-rw-r--r--modules/mail/e-mail-shell-sidebar.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/mail/e-mail-shell-sidebar.c b/modules/mail/e-mail-shell-sidebar.c
index b45e30ddee..7d98f74558 100644
--- a/modules/mail/e-mail-shell-sidebar.c
+++ b/modules/mail/e-mail-shell-sidebar.c
@@ -465,9 +465,7 @@ mail_shell_sidebar_constructed (GObject *object)
selection = gtk_tree_view_get_selection (tree_view);
model = gtk_tree_view_get_model (tree_view);
- if (em_folder_tree_model_get_selection (
- EM_FOLDER_TREE_MODEL (model)) == NULL)
- mail_shell_sidebar_restore_state (mail_shell_sidebar);
+ mail_shell_sidebar_restore_state (mail_shell_sidebar);
em_folder_tree_model_set_selection (
EM_FOLDER_TREE_MODEL (model), selection);