evolution-data-server r9334 - trunk/camel
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9334 - trunk/camel
- Date: Tue, 12 Aug 2008 17:01:07 +0000 (UTC)
Author: sragavan
Date: Tue Aug 12 17:01:06 2008
New Revision: 9334
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9334&view=rev
Log:
2008-08-12 Srinivasa Ragavan <sragavan novell com>
* camel/camel-folder-summary.c: Make junk counts work well.
Modified:
trunk/camel/ChangeLog
trunk/camel/camel-folder-summary.c
Modified: trunk/camel/camel-folder-summary.c
==============================================================================
--- trunk/camel/camel-folder-summary.c (original)
+++ trunk/camel/camel-folder-summary.c Tue Aug 12 17:01:06 2008
@@ -4448,6 +4448,9 @@
mi->summary->junk_count += junk;
if (junk && !deleted)
mi->summary->junk_not_deleted_count += junk;
+ else if ((mi->flags & CAMEL_MESSAGE_JUNK) && deleted)
+ mi->summary->junk_not_deleted_count -= deleted;
+
if (junk || deleted)
mi->summary->visible_count -= junk ? junk : deleted;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]