diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-05 13:10:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-05 13:10:03 +0000 |
commit | 53f7ce3aa183c14c974208249a672a5471c038dd (patch) | |
tree | 5cd207b528b3739913bfebd476414d8327f7e453 /perl-install/interactive/gtk.pm | |
parent | b8f187b44cdb8addd2b89039bcc4459f3b5ea924 (diff) | |
download | drakx-53f7ce3aa183c14c974208249a672a5471c038dd.tar drakx-53f7ce3aa183c14c974208249a672a5471c038dd.tar.gz drakx-53f7ce3aa183c14c974208249a672a5471c038dd.tar.bz2 drakx-53f7ce3aa183c14c974208249a672a5471c038dd.tar.xz drakx-53f7ce3aa183c14c974208249a672a5471c038dd.zip |
don't force wait_messages pop
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 99ff75ccd..b0e459aab 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -671,10 +671,12 @@ sub ask_from__add_modify_removeW { sub wait_messageW($$$) { my ($o, $title, $messages) = @_; - my $w = ugtk2->new($title, %$o, grab => 1, pop_it => 1, if__($::main_window, transient => $::main_window)); + my @l = map { Gtk2::Label->new(scalar warp_text($_)) } @$messages; + my $w = ugtk2->new($title, %$o, 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($_, 1, 1, 4) foreach my @l = map { Gtk2::Label->new(scalar warp_text($_)) } @$messages; + $box->pack_start(shift @l, 0, 0, 4); + $box->pack_start($_, 1, 1, 4) foreach @l; ($w->{wait_messageW} = $l[$#l])->signal_connect(expose_event => sub { $w->{displayed} = 1; 0 }); $w->{rwindow}->set_position('center') if $::isStandalone && !$w->{isEmbedded} && !$w->{isWizard}; |