[evolution-data-server] Bug 778069 - UI not updated after IMAP NOTIFY notifications
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 778069 - UI not updated after IMAP NOTIFY notifications
- Date: Mon, 6 Feb 2017 18:57:28 +0000 (UTC)
commit b54373ddcfec9311a02b60ee83a56e857e4556cf
Author: Milan Crha <mcrha redhat com>
Date: Mon Feb 6 19:58:54 2017 +0100
Bug 778069 - UI not updated after IMAP NOTIFY notifications
src/camel/providers/imapx/camel-imapx-server.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/camel/providers/imapx/camel-imapx-server.c b/src/camel/providers/imapx/camel-imapx-server.c
index e2ed81a..d8900b7 100644
--- a/src/camel/providers/imapx/camel-imapx-server.c
+++ b/src/camel/providers/imapx/camel-imapx-server.c
@@ -1683,6 +1683,10 @@ imapx_untagged_status (CamelIMAPXServer *is,
if (mailbox != NULL) {
camel_imapx_mailbox_handle_status_response (mailbox, response);
camel_imapx_store_emit_mailbox_updated (imapx_store, mailbox);
+
+ if (camel_imapx_server_is_in_idle (is))
+ g_signal_emit (is, signals[REFRESH_MAILBOX], 0, mailbox);
+
g_object_unref (mailbox);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]