aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap4/camel-imap4-store.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-06-12 23:08:10 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-06-12 23:08:10 +0800
commit2f2db14aca26d6b60b67685a1bcbbe1500b09b01 (patch)
treeb7e4e8eb659c43ba257210e5d4817b9dcc141544 /camel/providers/imap4/camel-imap4-store.c
parent794da792b828a620bd234f382de7aa22b90447f2 (diff)
downloadgsoc2013-evolution-2f2db14aca26d6b60b67685a1bcbbe1500b09b01.tar.gz
gsoc2013-evolution-2f2db14aca26d6b60b67685a1bcbbe1500b09b01.tar.zst
gsoc2013-evolution-2f2db14aca26d6b60b67685a1bcbbe1500b09b01.zip
Flush summary updates for the currently selected folder.
2004-06-12 Jeffrey Stedfast <fejj@ximian.com> * providers/imap4/camel-imap4-store.c (imap4_noop): Flush summary updates for the currently selected folder. svn path=/trunk/; revision=26323
Diffstat (limited to 'camel/providers/imap4/camel-imap4-store.c')
-rw-r--r--camel/providers/imap4/camel-imap4-store.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/providers/imap4/camel-imap4-store.c b/camel/providers/imap4/camel-imap4-store.c
index 333914123a..e9dcd66288 100644
--- a/camel/providers/imap4/camel-imap4-store.c
+++ b/camel/providers/imap4/camel-imap4-store.c
@@ -1315,5 +1315,8 @@ imap4_noop (CamelStore *store, CamelException *ex)
camel_imap4_command_unref (ic);
+ if (engine->folder && !camel_exception_is_set (ex))
+ camel_imap4_summary_flush_updates (((CamelFolder *) engine->folder)->summary, ex);
+
CAMEL_SERVICE_UNLOCK (store, connect_lock);
}