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



commit fd0b59503481461304b8c9818066eb7ce28dfe25
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 c6f13d0..7a62c8b 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;



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