[geary/wip/364-unread-count-redux] Add some debugging for the client's unready count display



commit 55abc61c75c6b7f435eb9bc630adfe69886229dc
Author: Michael Gratton <mike vee net>
Date:   Tue Apr 16 22:04:53 2019 +1000

    Add some debugging for the client's unready count display

 src/client/folder-list/folder-list-folder-entry.vala | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/client/folder-list/folder-list-folder-entry.vala 
b/src/client/folder-list/folder-list-folder-entry.vala
index 3eda0554..03655695 100644
--- a/src/client/folder-list/folder-list-folder-entry.vala
+++ b/src/client/folder-list/folder-list-folder-entry.vala
@@ -115,6 +115,11 @@ public class FolderList.FolderEntry : FolderList.AbstractFolderEntry, Sidebar.In
     }
 
     private void on_counts_changed() {
+        debug(
+            "Updating unread count for %s: %u",
+            folder.get_display_name(),
+            get_count()
+        );
         sidebar_count_changed(get_count());
         sidebar_tooltip_changed(get_sidebar_tooltip());
     }


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