summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-10 15:41:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-10 15:41:49 +0000
commit641c0c33393c051bf20d3fcc506a71097ecb19e7 (patch)
tree7511ca4bcd1315ab31b3bbe5ab478bc3204d37e1 /perl-install
parentf055c101a7a35a0d5e9e3ec885486fa16141f9fb (diff)
downloaddrakx-backup-do-not-use-641c0c33393c051bf20d3fcc506a71097ecb19e7.tar
drakx-backup-do-not-use-641c0c33393c051bf20d3fcc506a71097ecb19e7.tar.gz
drakx-backup-do-not-use-641c0c33393c051bf20d3fcc506a71097ecb19e7.tar.bz2
drakx-backup-do-not-use-641c0c33393c051bf20d3fcc506a71097ecb19e7.tar.xz
drakx-backup-do-not-use-641c0c33393c051bf20d3fcc506a71097ecb19e7.zip
simplify using {pop_it}
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive/gtk.pm4
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);