diff options
author | 5 <rodo@ximian.com> | 2004-02-26 02:54:13 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-02-26 02:54:13 +0800 |
commit | 438e909287008f115657ea7bd24066ae4b816917 (patch) | |
tree | 9305a1defa1039e2ccf54a1f27cfd59d33a0e455 | |
parent | 09070e7446a8044fc7848aae6608de2547b5025b (diff) | |
download | gsoc2013-evolution-438e909287008f115657ea7bd24066ae4b816917.tar gsoc2013-evolution-438e909287008f115657ea7bd24066ae4b816917.tar.gz gsoc2013-evolution-438e909287008f115657ea7bd24066ae4b816917.tar.bz2 gsoc2013-evolution-438e909287008f115657ea7bd24066ae4b816917.tar.lz gsoc2013-evolution-438e909287008f115657ea7bd24066ae4b816917.tar.xz gsoc2013-evolution-438e909287008f115657ea7bd24066ae4b816917.tar.zst gsoc2013-evolution-438e909287008f115657ea7bd24066ae4b816917.zip |
do not avoid junk mails in unread count
2004-02-25 <rodo@ximian.com>
* camel-folder.c (get_unread_message_count): do not avoid junk
mails in unread count
svn path=/trunk/; revision=24868
-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); } |