From 6c12d74cb15df7c26e79b19ac66ce7a89b76f71c Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Sun, 20 Jul 2008 19:23:41 +0000 Subject: Committing on behalf of Milan Crha 2008-07-09 Milan Crha ** 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 --- mail/ChangeLog | 6 ++++++ mail/message-list.c | 9 +++++++++ 2 files changed, 15 insertions(+) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index c874975c03..3d51651e46 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -32,6 +32,12 @@ * em-format-html.c: (efh_format_headers): Use X-MimeOLE as Mailer header when there's nothing better available. +2008-07-09 Milan Crha + + ** Part of fix for bug #228725 + + * message-list.c: (mail_regen_list): Update empty message on regen. + 2008-07-09 Milan Crha ** Fix for bug #207802 (Patch suggested by Veerapuram Varadhan.) 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); -- cgit