diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-06-12 23:08:10 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-06-12 23:08:10 +0800 |
commit | 2f2db14aca26d6b60b67685a1bcbbe1500b09b01 (patch) | |
tree | b7e4e8eb659c43ba257210e5d4817b9dcc141544 /camel | |
parent | 794da792b828a620bd234f382de7aa22b90447f2 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | camel/ChangeLog | 3 | ||||
-rw-r--r-- | camel/providers/imap4/camel-imap4-store.c | 3 | ||||
-rw-r--r-- | camel/providers/imap4/camel-imap4-summary.c | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index a8d7400850..3fa2d5bfbd 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,8 @@ 2004-06-12 Jeffrey Stedfast <fejj@ximian.com> + * providers/imap4/camel-imap4-store.c (imap4_noop): Flush summary + updates for the currently selected folder. + * providers/imap4/camel-imap4-summary.c (camel_imap4_summary_set_exists): Don't bother with exists_changed. We don't need it afterall. 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); } diff --git a/camel/providers/imap4/camel-imap4-summary.c b/camel/providers/imap4/camel-imap4-summary.c index ef08974572..d43df2e3e7 100644 --- a/camel/providers/imap4/camel-imap4-summary.c +++ b/camel/providers/imap4/camel-imap4-summary.c @@ -1151,7 +1151,7 @@ camel_imap4_summary_flush_updates (CamelFolderSummary *summary, CamelException * camel_imap4_command_unref (ic); } else { - first = scount; + first = scount + 1; } if (first != 0 && imap4_summary->exists > 0) { |