aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-05-03 08:50:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-05-03 08:50:04 +0000
commita64d1e702b223e7b20066f3981541ee37b7d46e3 (patch)
treed02e2c51ca4efbfe812692817ff857e955cb85f5
parent588bf2dabd7af5948062b115895cbbd53896e892 (diff)
downloadrpmdrake-a64d1e702b223e7b20066f3981541ee37b7d46e3.tar
rpmdrake-a64d1e702b223e7b20066f3981541ee37b7d46e3.tar.gz
rpmdrake-a64d1e702b223e7b20066f3981541ee37b7d46e3.tar.bz2
rpmdrake-a64d1e702b223e7b20066f3981541ee37b7d46e3.tar.xz
rpmdrake-a64d1e702b223e7b20066f3981541ee37b7d46e3.zip
When MandrakeUpdate was called from drakconf, the mouse cursor was stuck
in the 'wait' (clock) state. (Bugzilla 8200)
-rw-r--r--rpmdrake.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 9027f1d0..56f083e1 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -192,7 +192,11 @@ sub wait_msg {
$mainw->flush;
$mainw;
}
-sub remove_wait_msg { $_[0]->destroy }
+sub remove_wait_msg {
+ my $w = shift;
+ gtkset_mousecursor_normal($w->{rwindow}->window);
+ $w->destroy;
+}
sub but { " $_[0] " }
sub but_ { " $_[0] " }