[evolution-data-server] Flag the message infos once they are synced.
- From: Chenthill Palanisamy <pchen src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Flag the message infos once they are synced.
- Date: Wed, 2 Dec 2009 10:44:48 +0000 (UTC)
commit 44580593f4fd550676f8542f81fdea10547593af
Author: Chenthill Palanisamy <pchenthill novell com>
Date: Wed Dec 2 16:09:30 2009 +0530
Flag the message infos once they are synced.
camel/providers/imapx/camel-imapx-server.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 74f1845..e1cf5f2 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -2132,12 +2132,15 @@ imapx_job_sync_changes_done(CamelIMAPXServer *is, CamelIMAPXCommand *ic)
CamelIMAPXMessageInfo *info = camel_folder_summary_peek_info (job->folder->summary,
job->u.sync_changes.changed_uids->pdata[i]);
- if (info)
- info->server_flags = ((CamelMessageInfoBase *)info)->flags & CAMEL_IMAPX_SERVER_FLAGS;
+ info->server_flags = ((CamelMessageInfoBase *)info)->flags & CAMEL_IMAPX_SERVER_FLAGS;
+ info->info.flags &= ~CAMEL_MESSAGE_FOLDER_FLAGGED;
+ info->info.dirty = TRUE;
/* FIXME: move over user flags too */
}
}
+
+ camel_folder_summary_touch (job->folder->summary);
camel_dlist_remove((CamelDListNode *)job);
camel_msgport_reply((CamelMsg *)job);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]