aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-04-29 17:18:57 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-04-29 17:18:57 +0800
commit71cf445561d9977dcf56d05d0d1f3441d72b295b (patch)
tree1a6be29e82f24ac30a9877c682a7327b9852af4e /camel
parent6c028bb4339702ecb63b8932624288ea6798f81c (diff)
downloadgsoc2013-evolution-71cf445561d9977dcf56d05d0d1f3441d72b295b.tar
gsoc2013-evolution-71cf445561d9977dcf56d05d0d1f3441d72b295b.tar.gz
gsoc2013-evolution-71cf445561d9977dcf56d05d0d1f3441d72b295b.tar.bz2
gsoc2013-evolution-71cf445561d9977dcf56d05d0d1f3441d72b295b.tar.lz
gsoc2013-evolution-71cf445561d9977dcf56d05d0d1f3441d72b295b.tar.xz
gsoc2013-evolution-71cf445561d9977dcf56d05d0d1f3441d72b295b.tar.zst
gsoc2013-evolution-71cf445561d9977dcf56d05d0d1f3441d72b295b.zip
We want to set unread_count to get_unread_message_count, not
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. svn path=/trunk/; revision=16629
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);