aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-shell-content.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-01-08 05:27:06 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-01-08 05:27:06 +0800
commit19f1e3fe20c29690aaf07d26e81760405cc577df (patch)
tree76d78a49c48debc47b6204412a73470c781875a7 /mail/e-mail-shell-content.c
parent8d8e4ac1c23905892a42b779188c852fdead7f5f (diff)
downloadgsoc2013-evolution-19f1e3fe20c29690aaf07d26e81760405cc577df.tar
gsoc2013-evolution-19f1e3fe20c29690aaf07d26e81760405cc577df.tar.gz
gsoc2013-evolution-19f1e3fe20c29690aaf07d26e81760405cc577df.tar.bz2
gsoc2013-evolution-19f1e3fe20c29690aaf07d26e81760405cc577df.tar.lz
gsoc2013-evolution-19f1e3fe20c29690aaf07d26e81760405cc577df.tar.xz
gsoc2013-evolution-19f1e3fe20c29690aaf07d26e81760405cc577df.tar.zst
gsoc2013-evolution-19f1e3fe20c29690aaf07d26e81760405cc577df.zip
Fix some miscellaneous mailer bugs.
svn path=/branches/kill-bonobo/; revision=37011
Diffstat (limited to 'mail/e-mail-shell-content.c')
-rw-r--r--mail/e-mail-shell-content.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/e-mail-shell-content.c b/mail/e-mail-shell-content.c
index c846a83d5d..e06e68acfc 100644
--- a/mail/e-mail-shell-content.c
+++ b/mail/e-mail-shell-content.c
@@ -663,6 +663,8 @@ e_mail_shell_content_set_vertical_view (EMailShellContent *mail_shell_content,
mail_shell_content->priv->paned_binding_id = binding_id;
mail_shell_content->priv->paned = g_object_ref (new_paned);
+ e_mail_shell_content_update_view_instance (mail_shell_content);
+
g_object_notify (G_OBJECT (mail_shell_content), "vertical-view");
}
@@ -700,12 +702,11 @@ e_mail_shell_content_update_view_instance (EMailShellContent *mail_shell_content
mail_shell_content->priv->view_instance = NULL;
}
- /* TODO: Should this go through the mail-config API? */
view_id = mail_config_folder_to_safe_url (folder_view->folder);
view_instance = e_shell_view_new_view_instance (shell_view, view_id);
mail_shell_content->priv->view_instance = view_instance;
- show_vertical_view = folder_view->list_active &&
+ show_vertical_view =
e_mail_shell_content_get_vertical_view (mail_shell_content);
if (show_vertical_view) {