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/mail-callbacks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/mail-callbacks.c') 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