[evolution-data-server/gnome-3-22] 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/gnome-3-22] Bug 778069 - UI not updated after IMAP NOTIFY notifications
- Date: Mon, 6 Feb 2017 18:59:07 +0000 (UTC)
commit 5d830ed06a4bc4313a1f08b6fe47291d02639e04
Author: Milan Crha <mcrha redhat com>
Date: Mon Feb 6 19:58:54 2017 +0100
Bug 778069 - UI not updated after IMAP NOTIFY notifications
camel/providers/imapx/camel-imapx-server.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 6b23a9a..09735fa 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -1685,6 +1685,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]