evolution-mapi r8 - trunk/src/camel



Author: jjohnny
Date: Thu Nov 20 11:17:10 2008
New Revision: 8
URL: http://svn.gnome.org/viewvc/evolution-mapi?rev=8&view=rev

Log:
camel : Use the right flags for deciding on public folders.

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	Thu Nov 20 11:17:10 2008
@@ -410,9 +410,8 @@
 		return;
 	}
 
-	if (((CamelMapiFolder *)folder)->type == MAPI_FAVOURITE_FOLDER){
+	if (((CamelMapiFolder *)folder)->type & CAMEL_MAPI_FOLDER_PUBLIC)
 		options |= MAPI_OPTIONS_USE_PFSTORE;
-	} 
 
 	folder_id =  camel_mapi_store_folder_id_lookup (mapi_store, folder->full_name) ;
 	exchange_mapi_util_mapi_id_from_string (folder_id, &fid);



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