From 6d59ad08fdda41fae4ec8a28eb126d067e2570f0 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 19 Sep 2001 16:14:54 +0000 Subject: Pass the actual unread message count, not just whether or not it's > 0. * mail-callbacks.c (create_folders): Pass the actual unread message count, not just whether or not it's > 0. Fixes ximian 9089. svn path=/trunk/; revision=12979 --- mail/ChangeLog | 6 ++++++ mail/mail-callbacks.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'mail') 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 + + * 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 * 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); -- cgit v1.2.3