diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-04-01 15:44:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-04-01 15:44:07 +0000 |
commit | 27ff4c59680d1b8ed6451b92a7538262243d7345 (patch) | |
tree | 8acab384837833f46ed1ea829bfdd0e0353c07e0 | |
parent | 25b02cab25ee1d4db05fbf3743e04d00dac984e1 (diff) | |
download | rpmdrake-27ff4c59680d1b8ed6451b92a7538262243d7345.tar rpmdrake-27ff4c59680d1b8ed6451b92a7538262243d7345.tar.gz rpmdrake-27ff4c59680d1b8ed6451b92a7538262243d7345.tar.bz2 rpmdrake-27ff4c59680d1b8ed6451b92a7538262243d7345.tar.xz rpmdrake-27ff4c59680d1b8ed6451b92a7538262243d7345.zip |
(do_search) suggest to switch to the 'all' view if there's no search results (#38461)
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | rpmdrake | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -2,6 +2,7 @@ text anymore)), thus fixing #49035) - rpmdrake: o add a sensible tooltip for the "find" entry (#39454) + o suggest to switch to the 'all' view if there's no search results (#38461) Version 5.14 - 25 March 2009, Thierry Vignaud @@ -198,7 +198,10 @@ sub do_search($$$$$$$) { $iter = $options->{add_parent}->($results_none); # clear package list: $options->{add_nodes}->(); - statusbar_msg($results_none, 1); + my $string = $default_list_mode eq 'all' && $filter->[0] eq 'all' ? N("No search results.") : + N("No search results. You may want to switch to the '%s' view and to the '%s' filter", + N("All"), N("All"),); + statusbar_msg($string , 1); gtkset_mousecursor_normal($::w->{rwindow}->window); } my $tree_selection = $tree->get_selection; |