[evolution/evolution-3-12] Leftover "Generating message list..." info in a message-list



commit 64bccff657c6726a09350f9b7c9dbfa9b59932a5
Author: Milan Crha <mcrha redhat com>
Date:   Fri Apr 25 07:55:37 2014 +0200

    Leftover "Generating message list..." info in a message-list
    
    In some cases, like on errors or cancel, there could be left
    an information in the message-list that the list is generating
    its content, while it didn't do it in reality. This always resets
    the message-list information in case the current message-list
    generation finished and was the last in the queue.

 mail/message-list.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/mail/message-list.c b/mail/message-list.c
index b8beeff..7883e5c 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -5473,6 +5473,7 @@ message_list_regen_done_cb (GObject *source_object,
        if (message_list->priv->regen_data == regen_data) {
                regen_data_unref (message_list->priv->regen_data);
                message_list->priv->regen_data = NULL;
+               e_tree_set_info_message (E_TREE (message_list), NULL);
        }
        g_mutex_unlock (&message_list->priv->regen_lock);
 


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