summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-10-10 12:49:57 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:28:38 +0100
commit491a53dfac510cfeac29bdd2cf8743592e465a9b (patch)
tree48c2afcc7191b4d1af0b0735aea091bb6dcf226c /perl-install/interactive/gtk.pm
parent6864e4fc1bac9084c26ba4d502350c128c10ef6f (diff)
downloaddrakx-491a53dfac510cfeac29bdd2cf8743592e465a9b.tar
drakx-491a53dfac510cfeac29bdd2cf8743592e465a9b.tar.gz
drakx-491a53dfac510cfeac29bdd2cf8743592e465a9b.tar.bz2
drakx-491a53dfac510cfeac29bdd2cf8743592e465a9b.tar.xz
drakx-491a53dfac510cfeac29bdd2cf8743592e465a9b.zip
'draw' replaces 'expose_event'
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index b54813bb0..357843f21 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -939,7 +939,7 @@ sub wait_messageW {
}
sub wait_message_nextW {
my ($_o, $message, $Window) = @_;
- return if $message eq $Window->{wait_messageW}->get_text; #- needed otherwise no expose_event :(
+ return if $message eq $Window->{wait_messageW}->get_text; #- needed otherwise no draw :(
$Window->{displayed} = 0;
$Window->{wait_messageW}->set($message);
mygtk3::sync($Window) while !$Window->{displayed};
@@ -962,7 +962,7 @@ sub wait_message_with_progress_bar {
my $progress = gtknew('ProgressBar');
my $w = $in->wait_message($o_title, $progress);
my $displayed;
- $progress->signal_connect(expose_event => sub { $displayed = 1; 0 });
+ $progress->signal_connect(draw => sub { $displayed = 1; 0 });
$w, sub {
my ($msg, $current, $total) = @_;
if ($msg) {