aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-10-12 19:22:40 +0800
committerMilan Crha <mcrha@redhat.com>2009-10-12 19:22:40 +0800
commit4cb878029e2fcaad06c669947f237228cf6702fc (patch)
tree3b218ebe18982c9afc8977c14f61f3815d48dafd /mail
parentc655c9f3ec59a83b08903355def83d89ff1f1a93 (diff)
downloadgsoc2013-evolution-4cb878029e2fcaad06c669947f237228cf6702fc.tar.gz
gsoc2013-evolution-4cb878029e2fcaad06c669947f237228cf6702fc.tar.zst
gsoc2013-evolution-4cb878029e2fcaad06c669947f237228cf6702fc.zip
Check whether message-list is filtered properly
Diffstat (limited to 'mail')
-rw-r--r--mail/message-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 24f46887aa..5972447cb0 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -4366,7 +4366,7 @@ regen_list_done (struct _regen_list_msg *m)
if (GTK_WIDGET_VISIBLE (GTK_WIDGET (m->ml))) {
if (message_list_length (m->ml) <= 0) {
/* space is used to indicate no search too */
- if (m->ml->search && strcmp (m->ml->search, " ") != 0)
+ if (m->ml->search && *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."));