diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-10 15:41:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-10 15:41:49 +0000 |
commit | 641c0c33393c051bf20d3fcc506a71097ecb19e7 (patch) | |
tree | 7511ca4bcd1315ab31b3bbe5ab478bc3204d37e1 /perl-install/interactive/gtk.pm | |
parent | f055c101a7a35a0d5e9e3ec885486fa16141f9fb (diff) | |
download | drakx-641c0c33393c051bf20d3fcc506a71097ecb19e7.tar drakx-641c0c33393c051bf20d3fcc506a71097ecb19e7.tar.gz drakx-641c0c33393c051bf20d3fcc506a71097ecb19e7.tar.bz2 drakx-641c0c33393c051bf20d3fcc506a71097ecb19e7.tar.xz drakx-641c0c33393c051bf20d3fcc506a71097ecb19e7.zip |
simplify using {pop_it}
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r-- | perl-install/interactive/gtk.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index b40f70a47..a7d621776 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -721,11 +721,9 @@ sub ask_from__add_modify_removeW { sub wait_messageW($$$) { my ($o, $title, $messages) = @_; - local $::isEmbedded = 0; # to prevent sub window embedding - local $::isWizard = 0 if !$::isInstall; # to prevent sub window embedding my @l = map { Gtk2::Label->new(scalar warp_text($_)) } @$messages; - my $w = ugtk2->new($title, %$o, grab => 1, if__($::main_window, transient => $::main_window)); + my $w = ugtk2->new($title, %$o, pop_it => !$::isInstall, grab => 1, if__($::main_window, transient => $::main_window)); gtkadd($w->{window}, my $hbox = Gtk2::HBox->new(0,0)); $hbox->pack_start(my $box = Gtk2::VBox->new(0,0), 1, 1, 10); $box->pack_start(shift @l, 0, 0, 4); |