aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-31 11:16:08 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-31 11:16:08 +0000
commitd6633d0f580030471c705d49dea4f1212f8cf103 (patch)
tree7fe400999f05d8bc28666772ea50d0219fde488f /rpmdrake.pm
parent3dfaf445a9823b4de377ae7da2c2757f9fab85dd (diff)
downloadrpmdrake-d6633d0f580030471c705d49dea4f1212f8cf103.tar
rpmdrake-d6633d0f580030471c705d49dea4f1212f8cf103.tar.gz
rpmdrake-d6633d0f580030471c705d49dea4f1212f8cf103.tar.bz2
rpmdrake-d6633d0f580030471c705d49dea4f1212f8cf103.tar.xz
rpmdrake-d6633d0f580030471c705d49dea4f1212f8cf103.zip
Fix busy loop in gtk display (bug #15985, thanks to hajma) in what seems
to be now-obsolete trick. (Wait message windows are becoming uncommon anyway.)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 4d01f8ab..a1a5cbc7 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -306,8 +306,7 @@ sub wait_msg {
if_(exists $options{widgets}, @{$options{widgets}}),
)
);
- $label->signal_connect(expose_event => sub { $mainw->{displayed} = 1; 0 });
- $mainw->sync until $mainw->{displayed};
+ $mainw->sync;
gtkset_mousecursor_wait($mainw->{rwindow}->window) unless $options{no_wait_cursor};
$mainw->flush;
$mainw;