[evolution-data-server] Bug #667891 - Rapid message list regen when downloading a folder
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #667891 - Rapid message list regen when downloading a folder
- Date: Tue, 17 Apr 2012 15:47:46 +0000 (UTC)
commit 42e5b069cc2fba3b4de94d1ea7594990ee349235
Author: Milan Crha <mcrha redhat com>
Date: Tue Apr 17 17:44:52 2012 +0200
Bug #667891 - Rapid message list regen when downloading a folder
camel/providers/imapx/camel-imapx-server.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 34eddde..fc5de5d 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -1410,8 +1410,8 @@ imapx_untagged (CamelIMAPXServer *is,
data = camel_imapx_job_get_data (job);
g_return_val_if_fail (data != NULL, FALSE);
- camel_folder_summary_add (job->folder->summary, mi);
imapx_set_message_info_flags_for_new_message (mi, server_flags, server_user_flags, job->folder);
+ camel_folder_summary_add (job->folder->summary, mi);
camel_folder_change_info_add_uid (data->changes, mi->uid);
if (!g_hash_table_lookup (ifolder->ignore_recent, mi->uid)) {
@@ -3523,11 +3523,11 @@ imapx_command_append_message_done (CamelIMAPXServer *is,
g_rename (data->path, cur);
/* should we update the message count ? */
- camel_folder_summary_add (job->folder->summary, mi);
imapx_set_message_info_flags_for_new_message (mi,
((CamelMessageInfoBase *) data->info)->flags,
((CamelMessageInfoBase *) data->info)->user_flags,
job->folder);
+ camel_folder_summary_add (job->folder->summary, mi);
changes = camel_folder_change_info_new ();
camel_folder_change_info_add_uid (changes, mi->uid);
camel_folder_changed (job->folder, changes);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]