aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-paned-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-02-16 16:30:34 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:35 +0800
commit90f59dca71e40ae909c58fc97ed79f851947f39b (patch)
treec987ed7c159bb30a7223c7acc35682f1884b9949 /mail/e-mail-paned-view.c
parentb6512982fbbdd02d9f7813449d359f07f72db1e0 (diff)
downloadgsoc2013-evolution-90f59dca71e40ae909c58fc97ed79f851947f39b.tar.gz
gsoc2013-evolution-90f59dca71e40ae909c58fc97ed79f851947f39b.tar.zst
gsoc2013-evolution-90f59dca71e40ae909c58fc97ed79f851947f39b.zip
Bug #640802 - [express] Message preview automatically switches to vertical view
Diffstat (limited to 'mail/e-mail-paned-view.c')
-rw-r--r--mail/e-mail-paned-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/e-mail-paned-view.c b/mail/e-mail-paned-view.c
index c6f13d03b5..7a62c8bfc3 100644
--- a/mail/e-mail-paned-view.c
+++ b/mail/e-mail-paned-view.c
@@ -780,7 +780,7 @@ mail_paned_view_update_view_instance (EMailView *view)
orientable = GTK_ORIENTABLE (view);
orientation = gtk_orientable_get_orientation (orientable);
- show_vertical_view = (orientation == GTK_ORIENTATION_HORIZONTAL);
+ show_vertical_view = (orientation == GTK_ORIENTATION_HORIZONTAL) && !e_shell_settings_get_boolean (shell_settings, "mail-global-view-setting");
if (show_vertical_view) {
gchar *filename;