[evolution-mapi] Bug #641701 - Use unicode strings when creating folders



commit 0ff58c7951654cfb86456976b46641a17f56bc97
Author: Milan Crha <mcrha redhat com>
Date:   Thu Feb 10 12:17:27 2011 +0100

    Bug #641701 - Use unicode strings when creating folders

 src/camel/camel-mapi-store.c                   |    1 +
 src/libexchangemapi/exchange-mapi-connection.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-mapi-store.c b/src/camel/camel-mapi-store.c
index f92461f..b6b5f33 100644
--- a/src/camel/camel-mapi-store.c
+++ b/src/camel/camel-mapi-store.c
@@ -1010,6 +1010,7 @@ mapi_store_create_folder_sync (CamelStore *store,
 		mapi_update_folder_hash_tables (mapi_store, root->full_name, fid, parent_id);
 
 		camel_store_folder_created (store, root);
+		camel_store_folder_subscribed (store, root);
 	} else {
 		if (mapi_error) {
 			g_set_error (
diff --git a/src/libexchangemapi/exchange-mapi-connection.c b/src/libexchangemapi/exchange-mapi-connection.c
index b95b2f4..f87487b 100644
--- a/src/libexchangemapi/exchange-mapi-connection.c
+++ b/src/libexchangemapi/exchange-mapi-connection.c
@@ -2018,7 +2018,7 @@ exchange_mapi_connection_create_folder (ExchangeMapiConnection *conn, uint32_t o
 	}
 
 	/* Attempt to create the folder */
-	ms = CreateFolder (&obj_top, FOLDER_GENERIC, name, "Created using Evolution/LibMAPI", OPEN_IF_EXISTS, &obj_folder);
+	ms = CreateFolder (&obj_top, FOLDER_GENERIC, name, "Created using Evolution/LibMAPI", OPEN_IF_EXISTS | MAPI_UNICODE, &obj_folder);
 	if (ms != MAPI_E_SUCCESS) {
 		make_mapi_error (perror, "CreateFolder", ms);
 		goto cleanup;



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