aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/mainwindow.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6bf9738e..a2f58b7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-16
+
+ * src/mainwindow.c: main_window_create(): force visibility of the
+ message view on startup only if the layout type is vertical mode.
+
2011-11-29
* version 3.2.0beta4
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 0c31be36..09cb41c7 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1132,7 +1132,10 @@ MainWindow *main_window_create(SeparateType type)
g_warning(_("MainWindow: color allocation %d failed\n"), i);
}
- messageview->visible = TRUE;
+ if (prefs_common.layout_type == LAYOUT_VERTICAL)
+ messageview->visible = TRUE;
+ else
+ messageview->visible = prefs_common.msgview_visible;
main_window_set_widgets(mainwin, prefs_common.layout_type, type);