diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-12-16 09:04:54 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-12-16 09:04:54 +0000 |
commit | 94a1237c077d51149e3f1f6c1afd55bd7de0dacd (patch) | |
tree | f2d2da15e8dc553f4723030cfedca5ebd89bcc79 | |
parent | 8a31f8c337891276f4ad1cf94dc58d713d88a02f (diff) |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/mainwindow.c | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -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); |