[evolution-mapi] Bug #659020 - Destination folder not updated after	transfer_messages call
- From: Milan Crha <mcrha src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [evolution-mapi] Bug #659020 - Destination folder not updated after	transfer_messages call
 
- Date: Thu, 15 Sep 2011 08:45:56 +0000 (UTC)
 
commit 5fe4acb5abb3979132ca7a8cf90258191462738a
Author: Milan Crha <mcrha redhat com>
Date:   Thu Sep 15 10:45:22 2011 +0200
    Bug #659020 - Destination folder not updated after transfer_messages call
 src/camel/camel-mapi-folder.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/camel/camel-mapi-folder.c b/src/camel/camel-mapi-folder.c
index bac74a9..d5bd1d9 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -1792,6 +1792,10 @@ mapi_folder_transfer_messages_to_sync (CamelFolder *source,
 	g_slist_foreach (src_msg_ids, (GFunc) g_free, NULL);
 	g_slist_free (src_msg_ids);
 
+	/* update the destination folder to notice new messages */
+	if (success)
+		success = mapi_folder_refresh_info_sync (destination, cancellable, error);
+
 	return success;
 }
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]