aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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->();
},
),