aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-17 13:12:17 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-17 13:12:17 +0800
commit696ef2d4f12eb0a40a7fcc25066e2a85f9da87f2 (patch)
tree6ef3d0e23980c7dc6664411bdf756308343e6028 /camel
parentf6ff30856e2076de585074aabbd616f1a20301fa (diff)
downloadgsoc2013-evolution-696ef2d4f12eb0a40a7fcc25066e2a85f9da87f2.tar
gsoc2013-evolution-696ef2d4f12eb0a40a7fcc25066e2a85f9da87f2.tar.gz
gsoc2013-evolution-696ef2d4f12eb0a40a7fcc25066e2a85f9da87f2.tar.bz2
gsoc2013-evolution-696ef2d4f12eb0a40a7fcc25066e2a85f9da87f2.tar.lz
gsoc2013-evolution-696ef2d4f12eb0a40a7fcc25066e2a85f9da87f2.tar.xz
gsoc2013-evolution-696ef2d4f12eb0a40a7fcc25066e2a85f9da87f2.tar.zst
gsoc2013-evolution-696ef2d4f12eb0a40a7fcc25066e2a85f9da87f2.zip
if we have no folder in-memory, load it if we're not doing it fast to get
2004-05-17 Not Zed <NotZed@Ximian.com> * providers/local/camel-mh-store.c (fill_fi): if we have no folder in-memory, load it if we're not doing it fast to get really up to date unread counts. #57616. svn path=/trunk/; revision=25917
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/local/camel-mh-store.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index bd72907da1..78280f3daa 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2004-05-17 Not Zed <NotZed@Ximian.com>
+
+ * providers/local/camel-mh-store.c (fill_fi): if we have no folder
+ in-memory, load it if we're not doing it fast to get really up to
+ date unread counts. #57616.
+
2004-05-14 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_create_folder): don't allow creation
diff --git a/camel/providers/local/camel-mh-store.c b/camel/providers/local/camel-mh-store.c
index 65f783cac9..7e57b69766 100644
--- a/camel/providers/local/camel-mh-store.c
+++ b/camel/providers/local/camel-mh-store.c
@@ -298,6 +298,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);