summaryrefslogtreecommitdiffstats
path: root/perl-install/security
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-09-18 09:01:36 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-09-18 09:01:36 +0000
commit9134a39788f54bbeb5d336b6ac4459141080c1f5 (patch)
tree75dd71995ec96fb437347c42cf463d1be9c237a5 /perl-install/security
parenta50c10d13e1a9e0eee061b0f40bcbbf568ceb07d (diff)
downloaddrakx-9134a39788f54bbeb5d336b6ac4459141080c1f5.tar
drakx-9134a39788f54bbeb5d336b6ac4459141080c1f5.tar.gz
drakx-9134a39788f54bbeb5d336b6ac4459141080c1f5.tar.bz2
drakx-9134a39788f54bbeb5d336b6ac4459141080c1f5.tar.xz
drakx-9134a39788f54bbeb5d336b6ac4459141080c1f5.zip
fix wait_message doesn't display
Diffstat (limited to 'perl-install/security')
-rw-r--r--perl-install/security/main.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/security/main.pm b/perl-install/security/main.pm
index 15bacfa1f..8cc844aff 100644
--- a/perl-install/security/main.pm
+++ b/perl-install/security/main.pm
@@ -14,8 +14,10 @@ sub wait_msg {
my $mainw = my_gtk->new('wait');
my $label = new Gtk::Label($_[0]);
$mainw->{window}->add(gtkpack(gtkadd(create_vbox(), $label)));
-# $label->signal_connect(expose_event => sub { $mainw->{displayed} = 1 });
-# $mainw->sync until $mainw->{displayed};
+ $mainw->{window}->show_all;
+ $mainw->{window}->realize;
+ $label->signal_connect(expose_event => sub { $mainw->{displayed} = 1 });
+ $mainw->sync until $mainw->{displayed};
$mainw->show;
gtkset_mousecursor_wait($mainw->{rwindow}->window);
$mainw->flush;