aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-05-31 07:09:05 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-05-31 07:09:05 +0000
commit3b2036ecb32a9dbf3b1f36aab42e755773f399c7 (patch)
tree4c7b41929837193b69a5e685e61ebd5e98609022
parent2737d9e365fc0ad5d6314da0b27ab594ebdaad7e (diff)
don't scan folders while scanning IMAP4 folder tree.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@302 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/imap.c2
3 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 90307025..7d2414c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-05-31
+ * src/imap.c: imap_scan_tree_recursive(): disabled scanning of folders
+ because the STATUS command costs much.
+
+2005-05-31
+
* src/summaryview.c: summary_show(): fixed a bug that caused crash
if FolderView::selected is NULL (thanks to Yann Grossel).
* src/folderview.[ch]: folderview_set_opened_item(): new.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index c942d951..2a64d8bd 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2005-05-31
+ * src/imap.c: imap_scan_tree_recursive(): STATUS コマンドはコストが
+ かかるため、フォルダのスキャンを行わないようにした。
+
+2005-05-31
+
* src/summaryview.c: summary_show(): FolderView::selected が NULL
のときにクラッシュするバグを修正(Yann Grossel さん thanks)。
diff --git a/src/imap.c b/src/imap.c
index f3a6ecfe..4b1abc36 100644
--- a/src/imap.c
+++ b/src/imap.c
@@ -1772,8 +1772,10 @@ static gint imap_scan_tree_recursive(IMAPSession *session, FolderItem *item)
}
}
+#if 0
if (new_item->no_select == FALSE)
imap_scan_folder(folder, new_item);
+#endif
if (new_item->no_sub == FALSE)
imap_scan_tree_recursive(session, new_item);
}