aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-09-20 00:14:54 +0800
committerDan Winship <danw@src.gnome.org>2001-09-20 00:14:54 +0800
commit6d59ad08fdda41fae4ec8a28eb126d067e2570f0 (patch)
treedbc1c44150e080394b54645f77a2604bc44b2413 /mail/mail-callbacks.c
parent6445ac7538ad2b26bdef3116f2c4bd18b2205e69 (diff)
downloadgsoc2013-evolution-6d59ad08fdda41fae4ec8a28eb126d067e2570f0.tar.gz
gsoc2013-evolution-6d59ad08fdda41fae4ec8a28eb126d067e2570f0.tar.zst
gsoc2013-evolution-6d59ad08fdda41fae4ec8a28eb126d067e2570f0.zip
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
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c4
1 files changed, 2 insertions, 2 deletions
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);