evolution-data-server r9283 - trunk/camel/providers/imap
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9283 - trunk/camel/providers/imap
- Date: Wed, 6 Aug 2008 13:30:01 +0000 (UTC)
Author: sragavan
Date: Wed Aug 6 13:30:01 2008
New Revision: 9283
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9283&view=rev
Log:
2008-08-06 Srinivasa Ragavan <sragavan novell com>
* camel/providers/imap/camel-imap-folder.c: Mark summary as dirty when
it is.
Modified:
trunk/camel/providers/imap/ChangeLog
trunk/camel/providers/imap/camel-imap-folder.c
Modified: trunk/camel/providers/imap/camel-imap-folder.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-folder.c (original)
+++ trunk/camel/providers/imap/camel-imap-folder.c Wed Aug 6 13:30:01 2008
@@ -791,6 +791,8 @@
otherwise it was in local summary, but isn't on the server, thus remove it. */
changed = TRUE;
mi->dirty = TRUE;
+ if (mi->summary)
+ camel_folder_summary_touch (mi->summary);
camel_flag_set (&((CamelMessageInfoBase *)mi)->user_flags, p->data, g_hash_table_lookup (server, p->data) != NULL);
((CamelMessageInfoBase *) mi)->flags |= CAMEL_MESSAGE_FOLDER_FLAGGED;
}
@@ -1015,6 +1017,8 @@
iinfo->info.flags = (iinfo->info.flags | server_set) & ~server_cleared;
iinfo->server_flags = new[j].flags;
iinfo->info.dirty = TRUE;
+ if (info->summary)
+ camel_folder_summary_touch (info->summary);
changed = TRUE;
}
@@ -1382,6 +1386,8 @@
info->info.flags &= ~CAMEL_MESSAGE_FOLDER_FLAGGED;
((CamelImapMessageInfo *) info)->server_flags = info->info.flags & CAMEL_IMAP_SERVER_FLAGS;
info->info.dirty = TRUE; /* Sync it back to the DB */
+ if (((CamelMessageInfo *) info)->summary)
+ camel_folder_summary_touch (((CamelMessageInfo *) info)->summary);
}
camel_folder_summary_touch (folder->summary);
}
@@ -3390,6 +3396,8 @@
/* } */
((CamelMessageInfoBase *)mi)->dirty = TRUE;
+ if (((CamelMessageInfoBase *)mi)->summary)
+ camel_folder_summary_touch (((CamelMessageInfoBase *)mi)->summary);
camel_folder_summary_add (folder->summary, (CamelMessageInfo *)mi);
update_summary (folder->summary, (CamelMessageInfoBase *)mi);
camel_folder_change_info_add_uid (changes, camel_message_info_uid (mi));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]