From 90f59dca71e40ae909c58fc97ed79f851947f39b Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 16 Feb 2011 09:30:34 +0100 Subject: Bug #640802 - [express] Message preview automatically switches to vertical view --- mail/e-mail-paned-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/e-mail-paned-view.c') 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; -- cgit