diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-09-09 16:13:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-09-09 16:13:16 +0000 |
commit | bb4eb6bb98e98b33e83ba4ae934049a6f2cac4e0 (patch) | |
tree | 3e30a6715abc4926fe474dcd5940f81c11195f55 /perl-install/interactive_gtk.pm | |
parent | 7dd49ba305d4d26ca06904de3f39031596de571c (diff) | |
download | drakx-bb4eb6bb98e98b33e83ba4ae934049a6f2cac4e0.tar drakx-bb4eb6bb98e98b33e83ba4ae934049a6f2cac4e0.tar.gz drakx-bb4eb6bb98e98b33e83ba4ae934049a6f2cac4e0.tar.bz2 drakx-bb4eb6bb98e98b33e83ba4ae934049a6f2cac4e0.tar.xz drakx-bb4eb6bb98e98b33e83ba4ae934049a6f2cac4e0.zip |
clicked_may_quit used in place of clicked+exception to work-around perl-GTK bug (?)
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r-- | perl-install/interactive_gtk.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm index 6445b39b5..b10aba394 100644 --- a/perl-install/interactive_gtk.pm +++ b/perl-install/interactive_gtk.pm @@ -407,7 +407,10 @@ sub ask_fromW { $w->signal_connect(clicked => sub { $get_all->(); $mainw->{rwindow}->hide; - $e->{clicked}(); + if (my $v = $e->{clicked_may_quit}()) { + $o->{retval} = $v; + Gtk->main_quit; + } $mainw->{rwindow}->show; $set_all->(); }); |