[evolution-mapi/gnome-2-30] Bug #613146 - Message list shows messages that were deleted externally
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi/gnome-2-30] Bug #613146 - Message list shows messages that were deleted externally
- Date: Mon, 19 Apr 2010 11:54:14 +0000 (UTC)
commit de66b2ab48aa166a4c1c0db76f73989ce097a154
Author: Milan Crha <mcrha redhat com>
Date: Mon Apr 19 13:53:51 2010 +0200
Bug #613146 - Message list shows messages that were deleted externally
src/camel/camel-mapi-folder.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/camel/camel-mapi-folder.c b/src/camel/camel-mapi-folder.c
index 66fb6aa..c69795a 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -773,13 +773,18 @@ mapi_sync_deleted (CamelSession *session, CamelSessionThreadMsg *msg)
camel_operation_progress (NULL, (index * 100)/count); /* ;-) */
/* Check if we have to stop */
- if (camel_operation_cancel_check(NULL))
+ if (camel_operation_cancel_check(NULL)) {
+ if (camel_folder_change_info_changed (changes))
+ camel_object_trigger_event (m->folder, "folder_changed", changes);
+ camel_folder_change_info_free (changes);
return;
+ }
}
camel_operation_end (NULL);
- /* camel_object_trigger_event (m->folder, "folder_changed", changes); */
+ if (camel_folder_change_info_changed (changes))
+ camel_object_trigger_event (m->folder, "folder_changed", changes);
camel_folder_change_info_free (changes);
m->need_refresh = camel_folder_summary_count (m->folder->summary) != g_slist_length (server_uid_list);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]