summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-01-27 11:55:20 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-01-27 11:55:20 +0000
commit01b46f11ccc2f732504ec7e6a346e5e0fbe0594e (patch)
tree12eb814e6a080a9fdd1826ad7713a4b2dcb48995 /perl-install/interactive/gtk.pm
parent937db270cdda09da3b4ffb98738c7948d129691f (diff)
downloaddrakx-01b46f11ccc2f732504ec7e6a346e5e0fbe0594e.tar
drakx-01b46f11ccc2f732504ec7e6a346e5e0fbe0594e.tar.gz
drakx-01b46f11ccc2f732504ec7e6a346e5e0fbe0594e.tar.bz2
drakx-01b46f11ccc2f732504ec7e6a346e5e0fbe0594e.tar.xz
drakx-01b46f11ccc2f732504ec7e6a346e5e0fbe0594e.zip
since return values of callbacks are now non-ignored, we need to
return 0 to the expose_event when displaying wait message so that gdk really does the exposure :)
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index f411517a6..5706cbeae 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -677,7 +677,7 @@ sub wait_messageW($$$) {
$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;
- ($w->{wait_messageW} = $l[$#l])->signal_connect(expose_event => sub { $w->{displayed} = 1 });
+ ($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};
$w->{window}->show_all;
$w->sync until $w->{displayed};