diff options
-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; |