aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-07-21 03:23:41 +0800
committerBharath Acharya <abharath@src.gnome.org>2008-07-21 03:23:41 +0800
commit6c12d74cb15df7c26e79b19ac66ce7a89b76f71c (patch)
tree31f817465eab2fabf31fa9612e65b60e6eb937fa /mail/message-list.c
parente84757b92e0c767f79099d0cf738f1ca998abf5e (diff)
downloadgsoc2013-evolution-6c12d74cb15df7c26e79b19ac66ce7a89b76f71c.tar.gz
gsoc2013-evolution-6c12d74cb15df7c26e79b19ac66ce7a89b76f71c.tar.zst
gsoc2013-evolution-6c12d74cb15df7c26e79b19ac66ce7a89b76f71c.zip
Committing on behalf of Milan Crha <mcrha@redhat.com>
2008-07-09 Milan Crha <mcrha@redhat.com> ** Fix for bug #228725 * gui/widgets/e-minicard-view.h: (struct _EMinicardView): * gui/widgets/e-minicard-view.c: (set_empty_message), (stop_state_changed), (e_minicard_view_set_property), (e_minicard_view_dispose), (e_minicard_view_init): Show different message in a view when searching. svn path=/trunk/; revision=35783
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index ffa00bc927..8c62fc4244 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -4316,6 +4316,15 @@ mail_regen_list (MessageList *ml, const char *search, const char *hideexpr, Came
camel_folder_thread_messages_ref(m->tree);
}
+ if (message_list_length (ml) <= 0) {
+ /* there is some info why the message list is empty, let it be something useful */
+ char *txt = g_strconcat (_("Generating message list"), "..." , NULL);
+
+ e_tree_set_info_message (m->ml->tree, txt);
+
+ g_free (txt);
+ }
+
/* if we're busy already kick off timeout processing, so normal updates are immediate */
if (ml->regen == NULL)
ml_regen_timeout(m);