aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-callbacks.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 15e91aa75d..458c383684 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-19 Dan Winship <danw@ximian.com>
+
+ * mail-callbacks.c (create_folders): Pass the actual unread
+ message count, not just whether or not it's > 0. Fixes ximian
+ 9089.
+
2001-09-19 <NotZed@Ximian.com>
* component-factory.c: Added missing header.
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index c2289b6898..f2ff840711 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -2262,12 +2262,12 @@ create_folders (EvolutionStorage *storage, const char *prefix, CamelFolderInfo *
evolution_storage_new_folder (storage, path, fi->name,
"vtrash", fi->url,
fi->name, /* description */
- fi->unread_message_count > 0);
+ fi->unread_message_count);
else
evolution_storage_new_folder (storage, path, fi->name,
"mail", fi->url,
fi->name, /* description */
- fi->unread_message_count > 0);
+ fi->unread_message_count);
if (fi->child)
create_folders (storage, path, fi->child);