summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-05 23:13:43 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-05 23:13:43 +0000
commitacbcf359e5e63583f01c06ecbc4346664c443aa0 (patch)
treec572b519c806b4dbd69e22f2d3133f24f06dfec0 /perl-install/interactive_gtk.pm
parent6e75349144478ac58cb29697e31d2339d2d0a971 (diff)
downloaddrakx-acbcf359e5e63583f01c06ecbc4346664c443aa0.tar
drakx-acbcf359e5e63583f01c06ecbc4346664c443aa0.tar.gz
drakx-acbcf359e5e63583f01c06ecbc4346664c443aa0.tar.bz2
drakx-acbcf359e5e63583f01c06ecbc4346664c443aa0.tar.xz
drakx-acbcf359e5e63583f01c06ecbc4346664c443aa0.zip
no_comment
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index 089b09e7f..00ec1731a 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -208,13 +208,15 @@ sub wait_messageW($$$) {
gtkpack(new Gtk::VBox(0,0),
@$messages,
$w->{wait_messageW} = new Gtk::Label($W)));
- $w->sync;
+ $w->{wait_messageW}->signal_connect(expose_event => sub { $w->{displayed} = 1 });
+ $w->sync until $w->{displayed};
$w;
}
sub wait_message_nextW {
my ($o, $messages, $w) = @_;
+ $w->{displayed} = 0;
$w->{wait_messageW}->set(join "\n", @$messages);
- $w->sync;
+ $w->flush until $w->{displayed};
}
sub wait_message_endW {
my ($o, $w) = @_;