diff options
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-folder.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 259b5406c2..d8063fa667 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2004-02-25 <rodo@ximian.com> + + * camel-folder.c (get_unread_message_count): do not avoid junk + mails in unread count + 2004-02-25 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-summary.h (CAMEL_IMAP_MESSAGE_RECENT): diff --git a/camel/camel-folder.c b/camel/camel-folder.c index df585d6830..cac884e5c6 100644 --- a/camel/camel-folder.c +++ b/camel/camel-folder.c @@ -548,7 +548,7 @@ get_unread_message_count(CamelFolder *folder) CamelMessageInfo *info = camel_folder_summary_index(folder->summary, i); if (info) { - if (!(info->flags & CAMEL_MESSAGE_SEEN) && (!(info->flags & CAMEL_MESSAGE_JUNK) || (folder->folder_flags & CAMEL_FOLDER_IS_JUNK))) + if (!(info->flags & CAMEL_MESSAGE_SEEN)) unread++; camel_folder_summary_info_free(folder->summary, info); } |