diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-02-13 02:36:19 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-02-13 02:36:19 +0000 |
commit | 073ac0f0606344e1f6dbcf4d706a0710d41ae7b2 (patch) | |
tree | b89366903cc9e0247bfab4e9fa5c045a3e41eb58 | |
parent | c5ebe71066678fb3bb49876f119a7f60f303382f (diff) |
fixed the problem that the width of the folder view was not saved on maximized state.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1540 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | src/mainwindow.c | 7 |
3 files changed, 15 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2007-02-13 + * wrc/mainwindow.c: main_window_get_size(): fixed the problem that + the width of the folder view was not saved on maximized state. + +2007-02-13 + * src/folderview.c: folderview_check_new(): don't give up unless the network failure of remote mailboxes. diff --git a/ChangeLog.ja b/ChangeLog.ja index 2cdc3234..5b89f4a9 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,5 +1,10 @@ 2007-02-13 + * wrc/mainwindow.c: main_window_get_size(): 最大化状態でフォルダビュー + の幅が保存されない問題を修正。 + +2007-02-13 + * src/folderview.c: folderview_check_new(): リモートメールボックスの ネットワーク接続失敗以外で中断しないようにした。 diff --git a/src/mainwindow.c b/src/mainwindow.c index c40c8a01..4f45fb77 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -1538,7 +1538,6 @@ void main_window_get_size(MainWindow *mainwin) GtkAllocation *allocation; allocation = &(GTK_WIDGET_PTR(mainwin->summaryview)->allocation); - if (allocation->width > 1 && allocation->height > 1) { if (!prefs_common.mainwin_maximized) { prefs_common.summaryview_width = allocation->width; @@ -1552,8 +1551,12 @@ void main_window_get_size(MainWindow *mainwin) } - if (prefs_common.mainwin_maximized) + if (prefs_common.mainwin_maximized) { + allocation = &(GTK_WIDGET_PTR(mainwin->folderview)->allocation); + if (allocation->width > 1 && allocation->height > 1) + prefs_common.folderview_width = allocation->width; return; + } allocation = &mainwin->window->allocation; if (allocation->width > 1 && allocation->height > 1) { |