diff options
author | Dan Winship <danw@src.gnome.org> | 2001-09-20 00:14:54 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-09-20 00:14:54 +0800 |
commit | 6d59ad08fdda41fae4ec8a28eb126d067e2570f0 (patch) | |
tree | dbc1c44150e080394b54645f77a2604bc44b2413 /mail | |
parent | 6445ac7538ad2b26bdef3116f2c4bd18b2205e69 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 4 |
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); |