Filewatcher File Search
FTP Search
  
Directory (beta)
  
Content Search (beta)
   
pkg://evolution-1.0.8-11.src.rpm:12270924/evolution-1.0.3-unreadcount.patch  info  downloads

002-04-29  Not Zed  <NotZed@Ximian.com>

	* providers/local/camel-spool-store.c (get_folder_info): We want
	to set unread_count to get_unread_message_count, not
	get_message_count().  Might fix #17174.  Also removed FIXME: as it
	was fixed.
Index: providers/local/camel-spool-store.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/providers/local/camel-spool-store.c,v
retrieving revision 1.11
diff -u -3 -r1.11 camel-spool-store.c
--- camel/providers/local/camel-spool-store.c	8 Feb 2002 02:10:46 -0000	1.11
+++ camel/providers/local/camel-spool-store.c	29 Apr 2002 09:09:24 -0000
@@ -172,7 +172,6 @@
 	CamelFolder *folder;
 
 	if (top == NULL || strcmp(top, "INBOX") == 0) {
-		/* FIXME: if the folder is opened we could look it up? */
 		fi = g_malloc0(sizeof(*fi));
 		fi->full_name = "INBOX";
 		fi->name = "INBOX";
@@ -181,7 +180,7 @@
 		CAMEL_STORE_LOCK(store, cache_lock);
 		folder = g_hash_table_lookup(store->folders, fi->full_name);
 		if (folder)
-			fi->unread_message_count = camel_folder_get_message_count(folder);
+			fi->unread_message_count = camel_folder_get_unread_message_count(folder);
 		else
 			fi->unread_message_count = -1;
 		CAMEL_STORE_UNLOCK(store, cache_lock);
Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2008 Oliver Maruhn