diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-04-14 17:19:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-04-14 17:19:55 +0000 |
commit | a5ac960c3b430c4cef646e31d6ac72b87b66862f (patch) | |
tree | bfac6ab328b4a02aef12224fcc878fe1e87b2fd1 | |
parent | 22f81bb10b50d0714e23b128a44ef1aba61cb600 (diff) | |
download | rpmdrake-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-- | NEWS | 3 | ||||
-rwxr-xr-x | rpmdrake | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 @@ -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->(); }, ), |