evolution-data-server r8872 - trunk/camel/providers/imap



Author: mcrha
Date: Thu May 29 12:20:31 2008
New Revision: 8872
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8872&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:
   trunk/camel/providers/imap/ChangeLog
   trunk/camel/providers/imap/camel-imap-store-summary.c

Modified: trunk/camel/providers/imap/camel-imap-store-summary.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-store-summary.c	(original)
+++ trunk/camel/providers/imap/camel-imap-store-summary.c	Thu May 29 12:20:31 2008
@@ -339,7 +339,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]