summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-31 14:36:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-31 14:36:27 +0000
commitb521c7bf17b0440c01f1ad9d6c90f591a9c77d5f (patch)
treecea0fc04b9f4af15133a6977f9f070107090fc45 /perl-install/interactive/gtk.pm
parent032dd82bc486aafc4647edc3442f1e5f431525dd (diff)
downloaddrakx-b521c7bf17b0440c01f1ad9d6c90f591a9c77d5f.tar
drakx-b521c7bf17b0440c01f1ad9d6c90f591a9c77d5f.tar.gz
drakx-b521c7bf17b0440c01f1ad9d6c90f591a9c77d5f.tar.bz2
drakx-b521c7bf17b0440c01f1ad9d6c90f591a9c77d5f.tar.xz
drakx-b521c7bf17b0440c01f1ad9d6c90f591a9c77d5f.zip
handle pop_it more nicely: no need to precise pop_it when the wizard window already has a window,
that way, two dialog boxes won't merge in the same window (which is dumb!)
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 720211c30..99ff75ccd 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -671,8 +671,7 @@ sub ask_from__add_modify_removeW {
sub wait_messageW($$$) {
my ($o, $title, $messages) = @_;
- local $ugtk2::pop_it = 1;
- my $w = ugtk2->new($title, %$o, grab => 1, if__($::main_window, transient => $::main_window));
+ my $w = ugtk2->new($title, %$o, grab => 1, pop_it => 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($_, 1, 1, 4) foreach my @l = map { Gtk2::Label->new(scalar warp_text($_)) } @$messages;