aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-04-14 17:19:55 +0000
committerThierry Vignaud <tv@mandriva.org>2008-04-14 17:19:55 +0000
commita5ac960c3b430c4cef646e31d6ac72b87b66862f (patch)
treebfac6ab328b4a02aef12224fcc878fe1e87b2fd1
parent22f81bb10b50d0714e23b128a44ef1aba61cb600 (diff)
downloadrpmdrake-a5ac960c3b430c4cef646e31d6ac72b87b66862f.tar
rpmdrake-a5ac960c3b430c4cef646e31d6ac72b87b66862f.tar.gz
rpmdrake-a5ac960c3b430c4cef646e31d6ac72b87b66862f.tar.bz2
rpmdrake-a5ac960c3b430c4cef646e31d6ac72b87b66862f.tar.xz
rpmdrake-a5ac960c3b430c4cef646e31d6ac72b87b66862f.zip
(run_treeview_dialog) fix searching when numeric pad's return key is pressed (spotted by Charles Hernandez)
-rw-r--r--NEWS3
-rwxr-xr-xrpmdrake2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5d4ac37b..951af1d7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- rpmdrake:
+ o fix searching when numeric pad's return key is pressed
+
Version 4.9.13 - 3 April 2008, Thierry Vignaud
- updated translations
diff --git a/rpmdrake b/rpmdrake
index ccbc8584..9db39423 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -618,7 +618,7 @@ sub run_treeview_dialog {
$search_menu->popup(undef, undef, undef, undef, $button, undef);
},
key_press_event => sub {
- $_[1]->keyval == $Gtk2::Gdk::Keysyms{Return}
+ member($_[1]->keyval, $Gtk2::Gdk::Keysyms{Return}, $Gtk2::Gdk::Keysyms{KP_Enter})
and $find_callback->();
},
),