aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-18 15:26:10 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-18 15:26:10 +0800
commit66a97e3f8993f1f7da788ddb752774adcb198656 (patch)
tree3ea0121c02d8fe033f5090c6c07665f17418769c /camel/providers
parentc0cee1733415e60c43a845c3647917d305ff2ae7 (diff)
downloadgsoc2013-evolution-66a97e3f8993f1f7da788ddb752774adcb198656.tar.gz
gsoc2013-evolution-66a97e3f8993f1f7da788ddb752774adcb198656.tar.zst
gsoc2013-evolution-66a97e3f8993f1f7da788ddb752774adcb198656.zip
do the same load of mailbox if we're in slow mode as we did for maildir.
2004-05-18 Not Zed <NotZed@Ximian.com> * providers/local/camel-maildir-store.c (fill_fi): do the same load of mailbox if we're in slow mode as we did for maildir. #58294. svn path=/trunk/; revision=25948
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/local/camel-maildir-store.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c
index 056ac22d0c..33daf0521e 100644
--- a/camel/providers/local/camel-maildir-store.c
+++ b/camel/providers/local/camel-maildir-store.c
@@ -248,6 +248,11 @@ fill_fi(CamelStore *store, CamelFolderInfo *fi, guint32 flags)
CamelFolder *folder;
folder = camel_object_bag_get(store->folders, fi->full_name);
+
+ if (folder == NULL
+ && (flags & CAMEL_STORE_FOLDER_INFO_FAST) == 0)
+ folder = camel_store_get_folder(store, fi->full_name, 0, NULL);
+
if (folder) {
if ((flags & CAMEL_STORE_FOLDER_INFO_FAST) == 0)
camel_folder_refresh_info(folder, NULL);