[geary/wip/778276-better-flag-updates] Minor GenericAccount debug and comment updates.



commit f63f7352cfb630dffa9a3b971e12a225969cdfdf
Author: Michael James Gratton <mike vee net>
Date:   Wed Dec 20 21:03:58 2017 +1030

    Minor GenericAccount debug and comment updates.

 .../imap-engine/imap-engine-generic-account.vala   |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/engine/imap-engine/imap-engine-generic-account.vala 
b/src/engine/imap-engine/imap-engine-generic-account.vala
index 5d0a872..c6e0a1f 100644
--- a/src/engine/imap-engine/imap-engine-generic-account.vala
+++ b/src/engine/imap-engine/imap-engine-generic-account.vala
@@ -84,7 +84,7 @@ private abstract class Geary.ImapEngine.GenericAccount : Geary.Account {
     public void queue_operation(AccountOperation op)
         throws EngineError {
         check_open();
-        debug("%s: Enqueuing: %s", this.to_string(), op.to_string());
+        debug("%s: Enqueuing operation: %s", this.to_string(), op.to_string());
         this.processor.enqueue(op);
     }
 
@@ -1097,6 +1097,10 @@ internal class Geary.ImapEngine.RefreshFolderUnseen : FolderOperation {
                 cancellable
             );
 
+            // Although this is called when the folder is closed, we
+            // can safely use local_folder since we are only using its
+            // properties, and the properties were loaded when the
+            // folder was first instantiated.
             if (remote_folder.properties.have_contents_changed(
                     ((MinimalFolder) this.folder).local_folder.get_properties(),
                     this.folder.to_string())) {


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