From 66a97e3f8993f1f7da788ddb752774adcb198656 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 18 May 2004 07:26:10 +0000 Subject: do the same load of mailbox if we're in slow mode as we did for maildir. 2004-05-18 Not Zed * 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 --- camel/ChangeLog | 4 ++++ camel/providers/local/camel-maildir-store.c | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index ade1bd5458..79932332d1 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,9 @@ 2004-05-18 Not Zed + * 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. + * camel-disco-folder.c (disco_expunge_uids): check for NULL implementation before calling it. (disco_sync): similar. Fixes crash #58278. 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); -- cgit v1.2.3