aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xrpmdrake5
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 19bff816..71cfae60 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/rpmdrake b/rpmdrake
index df194e8c..82b46232 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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;