From 94a1237c077d51149e3f1f6c1afd55bd7de0dacd Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 16 Dec 2011 09:04:54 +0000 Subject: src/mainwindow.c: main_window_create(): force visibility of the message view on startup only if the layout type is vertical mode. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2991 ee746299-78ed-0310-b773-934348b2243d --- src/mainwindow.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.c') 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); -- cgit v1.2.3