From b521c7bf17b0440c01f1ad9d6c90f591a9c77d5f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 31 Jan 2003 14:36:27 +0000 Subject: 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!) --- perl-install/interactive/gtk.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/interactive') 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; -- cgit v1.2.1