diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-12-28 23:52:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-12-28 23:52:57 +0000 |
commit | fcef7c0af0b51e7883fe6f78db5ab6f03be8000a (patch) | |
tree | 8321e6fa768420567bb3bcc06d18730b376facac /perl-install/interactive_gtk.pm | |
parent | 55a6953f8ce1b586d8128feaa1a1e08c9f9beb03 (diff) | |
download | drakx-fcef7c0af0b51e7883fe6f78db5ab6f03be8000a.tar drakx-fcef7c0af0b51e7883fe6f78db5ab6f03be8000a.tar.gz drakx-fcef7c0af0b51e7883fe6f78db5ab6f03be8000a.tar.bz2 drakx-fcef7c0af0b51e7883fe6f78db5ab6f03be8000a.tar.xz drakx-fcef7c0af0b51e7883fe6f78db5ab6f03be8000a.zip |
no_comment
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r-- | perl-install/interactive_gtk.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm index 96f383cd1..41338477a 100644 --- a/perl-install/interactive_gtk.pm +++ b/perl-install/interactive_gtk.pm @@ -25,6 +25,7 @@ sub exit { sub ask_from_listW { my ($o, $title, $messages, $l, $def) = @_; + my $r; my $w = my_gtk->new(first(deref($title)), %$o); $w->{retval} = $def || $l->[0]; #- nearly especially for the X test case (see timeout in Xconfigurator.pm) @@ -44,11 +45,12 @@ sub ask_from_listW { ); $defW->grab_focus if $defW; $w->{rwindow}->set_position('center') if $::isStandalone; - $w->main; + $r = $w->main; } else { $w->_ask_from_list($title, $messages, $l, $def); - $w->main; + $r = $w->main; } + $r or die "ask_from_list cancel"; } sub ask_many_from_list_refW($$$$$) { |