evolution-mapi r4 - trunk/src/camel



Author: jjohnny
Date: Wed Nov 19 09:24:49 2008
New Revision: 4
URL: http://svn.gnome.org/viewvc/evolution-mapi?rev=4&view=rev

Log:
Fixes BGO #560760. Use the right flags for deciding if public folder.

Modified:
   trunk/src/camel/ChangeLog
   trunk/src/camel/camel-mapi-folder.c

Modified: trunk/src/camel/camel-mapi-folder.c
==============================================================================
--- trunk/src/camel/camel-mapi-folder.c	(original)
+++ trunk/src/camel/camel-mapi-folder.c	Wed Nov 19 09:24:49 2008
@@ -620,7 +620,7 @@
 			goto end2;
 		}
 
-		if (((CamelMapiFolder *)folder)->type == MAPI_FAVOURITE_FOLDER)
+		if (((CamelMapiFolder *)folder)->type & CAMEL_MAPI_FOLDER_PUBLIC)
 			options |= MAPI_OPTIONS_USE_PFSTORE;
 
 		camel_operation_start (NULL, _("Fetching summary information for new messages in %s"), folder->name);
@@ -1169,7 +1169,7 @@
 	options = MAPI_OPTIONS_FETCH_ALL | MAPI_OPTIONS_FETCH_BODY_STREAM | MAPI_OPTIONS_GETBESTBODY ;
 	exchange_mapi_util_mapi_ids_from_uid (uid, &id_folder, &id_message);
 
-	if (((CamelMapiFolder *)folder)->type == MAPI_FAVOURITE_FOLDER){
+	if (((CamelMapiFolder *)folder)->type & CAMEL_MAPI_FOLDER_PUBLIC){
 		options |= MAPI_OPTIONS_USE_PFSTORE;
 	} 
 



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