[evolution] Leftover "Generating message list..." info in a message-list
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Leftover "Generating message list..." info in a message-list
- Date: Fri, 25 Apr 2014 05:58:47 +0000 (UTC)
commit d677d4d426b1c68b993605d1249441ab9ca34df6
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]