[evolution] Bug #589412 - Wrong notice in message list when messages are hidden



commit 92c3639a0f2f6c58ceec6be7ff7d25f0f20855ea
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jul 22 20:15:17 2009 +0200

    Bug #589412 - Wrong notice in message list when messages are hidden

 mail/message-list.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/mail/message-list.c b/mail/message-list.c
index 6c8d529..07143ca 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -4291,6 +4291,8 @@ regen_list_done (struct _regen_list_msg *m)
 			/* space is used to indicate no search too */
 			if (m->ml->search && strcmp (m->ml->search, " ") != 0)
 				e_tree_set_info_message (m->ml->tree, _("No message satisfies your search criteria. Either clear search with Search->Clear menu item or change it."));
+			else if (m->ml->hidden)
+				e_tree_set_info_message (m->ml->tree, _("There are only hidden messages in this folder. Use View->Show Hidden Messages to show them."));
 			else
 				e_tree_set_info_message (m->ml->tree, _("There are no messages in this folder."));
 		} else



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