diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-11-24 16:45:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-11-24 16:45:10 +0000 |
commit | 96a44ec69287273eaa346a8ebc3dafea651a4d1e (patch) | |
tree | 12a8a195e6599ef0b2db091bf8e82aa5995220ba /perl-install/my_gtk.pm | |
parent | 851ca8f056135ff7edd9c19705ba2a4870887775 (diff) | |
download | drakx-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar drakx-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar.gz drakx-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar.bz2 drakx-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar.xz drakx-96a44ec69287273eaa346a8ebc3dafea651a4d1e.zip |
no_comment
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r-- | perl-install/my_gtk.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm index af7ae44e0..99ef6f7b0 100644 --- a/perl-install/my_gtk.pm +++ b/perl-install/my_gtk.pm @@ -469,9 +469,11 @@ sub _ask_from_list { $list->moveto($_[0], 0, 0.5, 0); }; - $list->signal_connect(button_press_event => - ref $title && !@okcancel ? $leave : sub { &$leave if $_[1]{type} =~ /^2/ } - ); + + ref $title && !@okcancel ? + $list->signal_connect(button_release_event => $leave) : + $list->signal_connect(button_press_event => sub { &$leave if $_[1]{type} =~ /^2/ }); + $list->signal_connect(select_row => sub { my ($w, $row, undef, $e) = @_; $curr = $row; |