aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake3
1 files changed, 1 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 7e064b32..1f19f173 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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->();
},
),