diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-10-01 11:32:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-10-01 11:32:29 +0000 |
commit | 6b8980e13f400ad0fe54b26118772504e8c607d7 (patch) | |
tree | a350f11c30a60aefc7e0f71d01b8c80b20e755ab | |
parent | cc5a2f3b67d3c245b50a8ac69287731094ccf8b3 (diff) | |
download | rpmdrake-6b8980e13f400ad0fe54b26118772504e8c607d7.tar rpmdrake-6b8980e13f400ad0fe54b26118772504e8c607d7.tar.gz rpmdrake-6b8980e13f400ad0fe54b26118772504e8c607d7.tar.bz2 rpmdrake-6b8980e13f400ad0fe54b26118772504e8c607d7.tar.xz rpmdrake-6b8980e13f400ad0fe54b26118772504e8c607d7.zip |
(run_treeview_dialog) clear search results too when cleaing searched text (#49239)
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | rpmdrake | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -5,6 +5,7 @@ o enable to apply priority updates without trying to select any package o search + * clear search results too when cleaing searched text (#49239) * default to OR like searches for searches among package names (#37643) * enable to disable use of regular expression (default is: disabled) * enable to search in full or short package names (#46473) @@ -677,7 +677,10 @@ sub run_treeview_dialog { 'icon-press' => sub { my (undef, $pos, $event) = @_; # emulate Sexy::IconEntry's clear_button: - $find_entry->set_text('') if $pos eq 'secondary'; + if ($pos eq 'secondary') { + $find_entry->set_text(''); + reset_search(); + } return if $pos ne 'primary'; $search_menu->popup(undef, undef, undef, undef, $event->button, $event->time); }, |