evolution-data-server r8873 - branches/gnome-2-22/camel/providers/imap



Author: mcrha
Date: Thu May 29 12:20:46 2008
New Revision: 8873
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8873&view=rev

Log:
2008-05-29  Milan Crha  <mcrha redhat com>

	** Fix for bug #326149

	* camel-imap-store-summary.c: (camel_imap_store_summary_add_from_full):
	Set inbox flag only on real inboxes.



Modified:
   branches/gnome-2-22/camel/providers/imap/ChangeLog
   branches/gnome-2-22/camel/providers/imap/camel-imap-store-summary.c

Modified: branches/gnome-2-22/camel/providers/imap/camel-imap-store-summary.c
==============================================================================
--- branches/gnome-2-22/camel/providers/imap/camel-imap-store-summary.c	(original)
+++ branches/gnome-2-22/camel/providers/imap/camel-imap-store-summary.c	Thu May 29 12:20:46 2008
@@ -340,7 +340,7 @@
 		d(printf("  '%s' -> '%s'\n", pathu8, full_name));
 		camel_store_info_set_string((CamelStoreSummary *)s, (CamelStoreInfo *)info, CAMEL_IMAP_STORE_INFO_FULL_NAME, full_name);
 
-		if (g_ascii_strcasecmp(full_name, "inbox"))
+		if (!g_ascii_strcasecmp(full_name, "inbox"))
 			info->info.flags |= CAMEL_FOLDER_SYSTEM|CAMEL_FOLDER_TYPE_INBOX;
 	} else
 		d(printf("  failed\n"));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]