Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/ChangeLog,v
retrieving revision 1.1523
diff -u -p -r1.1523 ChangeLog
--- ChangeLog	8 Sep 2005 10:02:39 -0000	1.1523
+++ ChangeLog	26 Sep 2005 07:05:10 -0000
@@ -1,3 +1,9 @@
+2005-09-26  Arunprakash  <arunp@novell.com>
+
+	* mail/mail-folder-cache.c (update_1folder) : Uses both unread count
+	and newly added mails count to mark new mails.
+	** Fixes #300604.
+
 2005-09-05  Mengjie Yu  <meng-jie.yu@sun.com>
 
 	* configure.in:grep on Solaris doesn't support -q, use > /dev/null instead.
Index: mail/mail-folder-cache.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-folder-cache.c,v
retrieving revision 1.102
diff -u -p -r1.102 mail-folder-cache.c
--- mail/mail-folder-cache.c	24 Aug 2005 03:05:26 -0000	1.102
+++ mail/mail-folder-cache.c	26 Sep 2005 07:05:11 -0000
@@ -374,7 +374,7 @@ update_1folder(struct _folder_info *mfi,
 	up = g_malloc0(sizeof(*up));
 	up->full_name = g_strdup(mfi->full_name);
 	up->unread = unread;
-	up->new = new ? 1 : 0;
+	up->new = (new && unread) ? 1 : 0;
 	up->store = mfi->store_info->store;
 	up->uri = g_strdup(mfi->uri);
 	camel_object_ref(up->store);
