aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
author5 <rodo@ximian.com>2004-02-26 02:54:13 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-02-26 02:54:13 +0800
commit438e909287008f115657ea7bd24066ae4b816917 (patch)
tree9305a1defa1039e2ccf54a1f27cfd59d33a0e455 /camel/camel-folder.c
parent09070e7446a8044fc7848aae6608de2547b5025b (diff)
downloadgsoc2013-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
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c2
1 files changed, 1 insertions, 1 deletions
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);
}