aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2014-04-25 13:55:37 +0800
committerMilan Crha <mcrha@redhat.com>2014-04-25 13:55:37 +0800
commitd677d4d426b1c68b993605d1249441ab9ca34df6 (patch)
tree310dc9f5809d687fb92bc5aef53c2da67e81ef04 /mail/message-list.c
parent6f0baa0627a847e5f84c16fc97acf5eee6d0068e (diff)
downloadgsoc2013-evolution-d677d4d426b1c68b993605d1249441ab9ca34df6.tar
gsoc2013-evolution-d677d4d426b1c68b993605d1249441ab9ca34df6.tar.gz
gsoc2013-evolution-d677d4d426b1c68b993605d1249441ab9ca34df6.tar.bz2
gsoc2013-evolution-d677d4d426b1c68b993605d1249441ab9ca34df6.tar.lz
gsoc2013-evolution-d677d4d426b1c68b993605d1249441ab9ca34df6.tar.xz
gsoc2013-evolution-d677d4d426b1c68b993605d1249441ab9ca34df6.tar.zst
gsoc2013-evolution-d677d4d426b1c68b993605d1249441ab9ca34df6.zip
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.
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index b8beeffd5e..7883e5c156 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);