[evolution-data-server] Bug 738724 - [IMAP] Message flag changes not always saved
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 738724 - [IMAP] Message flag changes not always saved
- Date: Mon, 3 Nov 2014 12:57:11 +0000 (UTC)
commit c46addf2e64bad9857a45b3caa75092dd2f7111e
Author: Milan Crha <mcrha redhat com>
Date: Mon Nov 3 13:56:22 2014 +0100
Bug 738724 - [IMAP] Message flag changes not always saved
camel/camel-store.c | 3 +++
camel/providers/imapx/camel-imapx-server.c | 10 ----------
2 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/camel/camel-store.c b/camel/camel-store.c
index 5aad175..f770de6 100644
--- a/camel/camel-store.c
+++ b/camel/camel-store.c
@@ -477,6 +477,9 @@ store_synchronize_sync (CamelStore *store,
for (ii = 0; ii < folders->len; ii++) {
CamelFolder *folder = folders->pdata[ii];
+ if (folder->summary)
+ camel_folder_summary_save_to_db (folder->summary, NULL);
+
if (!CAMEL_IS_VEE_FOLDER (folder) && local_error == NULL) {
camel_folder_synchronize_sync (
folder, expunge, cancellable, &local_error);
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 03c0ec6..9ae7c15 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -4539,16 +4539,6 @@ connected:
while (1) {
GInputStream *input_stream;
- // poll ? wait for other stuff? loop?
- if (camel_application_is_exiting) {
- g_set_error (
- error, G_IO_ERROR,
- G_IO_ERROR_CANCELLED,
- "Connection to server cancelled\n");
- success = FALSE;
- goto exit;
- }
-
input_stream = camel_imapx_server_ref_input_stream (is);
tok = camel_imapx_input_stream_token (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]