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
committerMilan Crha <mcrha@redhat.com>2011-02-16 16:30:34 +0800
commitfd0b59503481461304b8c9818066eb7ce28dfe25 (patch)
tree8d56eed2036bb1dff8e16ed3ee802c2d7587729f /mail/e-mail-paned-view.c
parent005bb4e64093f3f18bc09dbc54381f6413ec1754 (diff)
downloadgsoc2013-evolution-fd0b59503481461304b8c9818066eb7ce28dfe25.tar
gsoc2013-evolution-fd0b59503481461304b8c9818066eb7ce28dfe25.tar.gz
gsoc2013-evolution-fd0b59503481461304b8c9818066eb7ce28dfe25.tar.bz2
gsoc2013-evolution-fd0b59503481461304b8c9818066eb7ce28dfe25.tar.lz
gsoc2013-evolution-fd0b59503481461304b8c9818066eb7ce28dfe25.tar.xz
gsoc2013-evolution-fd0b59503481461304b8c9818066eb7ce28dfe25.tar.zst
gsoc2013-evolution-fd0b59503481461304b8c9818066eb7ce28dfe25.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;