diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-11 19:29:21 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-11 19:29:21 +0000 |
commit | 24d14169ab49f161d77cd1b19d1248f01bea6728 (patch) | |
tree | 66231a72d3ef0ba136a9989f7fdde740ea52640c /rpmdrake | |
parent | 88aeecbf4240ef9bc19c8cb2e5e1756c7d96bc24 (diff) | |
download | rpmdrake-24d14169ab49f161d77cd1b19d1248f01bea6728.tar rpmdrake-24d14169ab49f161d77cd1b19d1248f01bea6728.tar.gz rpmdrake-24d14169ab49f161d77cd1b19d1248f01bea6728.tar.bz2 rpmdrake-24d14169ab49f161d77cd1b19d1248f01bea6728.tar.xz rpmdrake-24d14169ab49f161d77cd1b19d1248f01bea6728.zip |
(run_treeview_dialog) simplify thanks to mygtk2
Diffstat (limited to 'rpmdrake')
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -522,8 +522,7 @@ sub run_treeview_dialog { $cbox, gtknew('Label', text => N("Find:")), $search_types_optionmenu, - gtksignal_connect( - $find_entry = gtknew('Entry'), + $find_entry = gtknew('Entry', key_press_event => sub { $_[1]->keyval == $Gtk2::Gdk::Keysyms{Return} and $find_callback->(); |