[balsa] mailbox-local: Set messages-loaded



commit 7a01d8db69de119ab216b6b7659a17ddf08446af
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed Jan 15 15:09:52 2020 -0500

    mailbox-local: Set messages-loaded
    
    * libbalsa/mailbox_local.c (libbalsa_mailbox_local_set_threading):
      set messages-loaded when the message tree is successfully restored
      from the cache.

 ChangeLog                | 8 ++++++++
 libbalsa/mailbox_local.c | 1 +
 2 files changed, 9 insertions(+)
---
diff --git a/ChangeLog b/ChangeLog
index 57e9a1a0a..1b4aa379e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2020-01-15  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       mailbox-local: Set messages-loaded
+
+       * libbalsa/mailbox_local.c (libbalsa_mailbox_local_set_threading):
+       set messages-loaded when the message tree is successfully restored
+       from the cache.
+
 2020-01-15  Peter Bloomfield  <pbloomfield bellsouth net>
 
        Fix a few bugs
diff --git a/libbalsa/mailbox_local.c b/libbalsa/mailbox_local.c
index 0a3b33637..8ee214ac7 100644
--- a/libbalsa/mailbox_local.c
+++ b/libbalsa/mailbox_local.c
@@ -1188,6 +1188,7 @@ libbalsa_mailbox_local_set_threading(LibBalsaMailbox * mailbox,
 
         libbalsa_mailbox_set_msg_tree(mailbox, g_node_new(NULL));
         if (lbm_local_restore_tree(local, &total)) {
+            libbalsa_mailbox_set_messages_loaded(mailbox, TRUE);
             libbalsa_mailbox_set_messages_threaded(mailbox, TRUE);
         } else {
             /* Bad or no cache file: start over. */


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