aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-02 11:34:57 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-02 11:34:57 +0000
commit8818a5b45f4a9f084347e2730b57987b3bb9c187 (patch)
tree1ab79f1ccb5db2e1bc64bb55b6c64f32c884faff
parent1eddc7490aaed54756b8f9af82af9e2b6a8f3fcf (diff)
downloadrpmdrake-8818a5b45f4a9f084347e2730b57987b3bb9c187.tar
rpmdrake-8818a5b45f4a9f084347e2730b57987b3bb9c187.tar.gz
rpmdrake-8818a5b45f4a9f084347e2730b57987b3bb9c187.tar.bz2
rpmdrake-8818a5b45f4a9f084347e2730b57987b3bb9c187.tar.xz
rpmdrake-8818a5b45f4a9f084347e2730b57987b3bb9c187.zip
(do_search) make sure searches with no results clear package list (#34898)
-rw-r--r--NEWS3
-rwxr-xr-xrpmdrake2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ce302713..d53294ef 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- rpmdrake:
+ o make sure searches with no results clear package list (#34898)
o update GUI package list
-
+
Version 4.11 - 1 July 2008, Thierry Vignaud
- rpmdrake:
diff --git a/rpmdrake b/rpmdrake
index 6f46a0e2..71d228e4 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -197,6 +197,8 @@ sub do_search($$$$$$$) {
] } sort { uc($a) cmp uc($b) } @search_results);
} else {
$iter = $options->{add_parent}->($results_none);
+ # clear package list:
+ $options->{add_nodes}->();
statusbar_msg($results_none, 1);
gtkset_mousecursor_normal($::w->{rwindow}->window);
}