[geary] Brown paper bag followup for commit b7eea8.



commit 4f039d772c57371a355727e8c2cdc9396a0ccd85
Author: Michael James Gratton <mike vee net>
Date:   Wed Feb 7 15:03:23 2018 +1100

    Brown paper bag followup for commit b7eea8.
    
    * src/client/application/geary-controller.vala (GearyController):
      Actually monitor Inboxes for new messages by default.

 src/client/application/geary-controller.vala |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala
index 307f178..fcbd682 100644
--- a/src/client/application/geary-controller.vala
+++ b/src/client/application/geary-controller.vala
@@ -1601,9 +1601,12 @@ public class GearyController : Geary.BaseObject {
                     folder.open_async.begin(Geary.Folder.OpenFlags.NO_DELAY, cancellable);
 
                     // Always notify for new messages in the Inbox
+                    this.new_messages_monitor.add_folder(folder, cancellable);
                     break;
-                    
+
                 case Geary.SpecialFolderType.NONE:
+                    // Only notify for new messages in non-special
+                    // descendants of the Inbox
                     if (is_inbox_descendant(folder)) {
                         this.new_messages_monitor.add_folder(folder, cancellable);
                     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]