diff options
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -42,7 +42,6 @@ use urpm::media; use mygtk3 qw(gtknew); #- do not import anything else, especially gtkadd() which conflicts with ugtk3 one use ugtk3 qw(:all); -use Gtk2::Gdk::Keysyms; use Rpmdrake::widgets; use feature 'state'; @@ -706,7 +705,7 @@ sub run_treeview_dialog { $search_menu->popup(undef, undef, undef, undef, $event->button, $event->time); }, key_press_event => sub { - member($_[1]->keyval, $Gtk2::Gdk::Keysyms{Return}, $Gtk2::Gdk::Keysyms{KP_Enter}) + member($_[1]->keyval, $Gtk3::Gdk::KEY_Return, $Gtk2::Gdk::Keysyms{KP_Enter}) and $find_callback->(); }, ), |