[evolution/webkit] Bug #640802 - [express] Message preview automatically switches to vertical view



commit dc743137489f9e8c47bbcadd8ada0f298b3f9d76
Author: Milan Crha <mcrha redhat com>
Date:   Wed Feb 16 09:30:34 2011 +0100

    Bug #640802 - [express] Message preview automatically switches to vertical view

 mail/e-mail-paned-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-paned-view.c b/mail/e-mail-paned-view.c
index fd7eee7..3499405 100644
--- a/mail/e-mail-paned-view.c
+++ b/mail/e-mail-paned-view.c
@@ -782,7 +782,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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]