aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-01 16:07:23 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-01 16:07:23 +0000
commiteba4d693344a8e161bbffeb372bdb3bae3cc767d (patch)
tree4106d680d7a2e6b4042840a45ccf87a3d93ebc2a
parentb0cebf9c5f03b9462fc9db3fc2b58058b3f8dbf1 (diff)
downloadrpmdrake-eba4d693344a8e161bbffeb372bdb3bae3cc767d.tar
rpmdrake-eba4d693344a8e161bbffeb372bdb3bae3cc767d.tar.gz
rpmdrake-eba4d693344a8e161bbffeb372bdb3bae3cc767d.tar.bz2
rpmdrake-eba4d693344a8e161bbffeb372bdb3bae3cc767d.tar.xz
rpmdrake-eba4d693344a8e161bbffeb372bdb3bae3cc767d.zip
(do_search) delete "Search results (none)" category too
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 060dfc5d..36d41f03 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -65,7 +65,7 @@ sub do_search($$$$$$$) {
}
my $entry_rx = eval { qr/$entry/i } or return;
my ($results_ok, $results_none) = (N("Search results"), N("Search results (none)"));
- $options->{delete_category}->($results_ok);
+ $options->{delete_category}->($_) foreach $results_ok, $results_none;
$options->{state}{flat} and $options->{delete_all}->();
$tree->collapse_all;
my @search_results;