aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/providers/local/camel-spool-store.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index ed668a9fc4..a4d7dc2b69 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,10 @@
+2002-04-29 Not Zed <NotZed@Ximian.com>
+
+ * providers/local/camel-spool-store.c (get_folder_info): We want
+ to set unread_count to get_unread_message_count, not
+ get_message_count(). Might fix #17174. Also removed FIXME: as it
+ was fixed.
+
2002-04-26 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/Makefile.am: Don't link to libibex.a anymore.
diff --git a/camel/providers/local/camel-spool-store.c b/camel/providers/local/camel-spool-store.c
index e35581e3b2..b0a1bda602 100644
--- a/camel/providers/local/camel-spool-store.c
+++ b/camel/providers/local/camel-spool-store.c
@@ -172,7 +172,6 @@ get_folder_info (CamelStore *store, const char *top,
CamelFolder *folder;
if (top == NULL || strcmp(top, "INBOX") == 0) {
- /* FIXME: if the folder is opened we could look it up? */
fi = g_malloc0(sizeof(*fi));
fi->full_name = "INBOX";
fi->name = "INBOX";
@@ -181,7 +180,7 @@ get_folder_info (CamelStore *store, const char *top,
CAMEL_STORE_LOCK(store, cache_lock);
folder = g_hash_table_lookup(store->folders, fi->full_name);
if (folder)
- fi->unread_message_count = camel_folder_get_message_count(folder);
+ fi->unread_message_count = camel_folder_get_unread_message_count(folder);
else
fi->unread_message_count = -1;
CAMEL_STORE_UNLOCK(store, cache_lock);