diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-08-18 12:58:42 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-08-18 12:58:42 +0000 |
commit | 16a44a4ac1d6c651b55dbe11b537dfdb33eb6890 (patch) | |
tree | 82c9a16c3369806e35cc4cfaeac2c7632ff2c9ee /rpmdrake.pm | |
parent | 5fbbbcdc22f6b4bf0973b816c4f5638bf1b8d532 (diff) | |
download | rpmdrake-16a44a4ac1d6c651b55dbe11b537dfdb33eb6890.tar rpmdrake-16a44a4ac1d6c651b55dbe11b537dfdb33eb6890.tar.gz rpmdrake-16a44a4ac1d6c651b55dbe11b537dfdb33eb6890.tar.bz2 rpmdrake-16a44a4ac1d6c651b55dbe11b537dfdb33eb6890.tar.xz rpmdrake-16a44a4ac1d6c651b55dbe11b537dfdb33eb6890.zip |
Display a wait cursor on the whole window when a wait message is displayed on
the status bar.
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 69245c8d..a818b801 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -343,6 +343,7 @@ sub statusbar_msg { my ($msg) = @_; #- always use the same context description for now my $cx = $::statusbar->get_context_id("foo"); + $::w and $::w->{rwindow} and gtkset_mousecursor_wait($::w->{rwindow}->window); #- returns a msg_id to be passed optionnally to statusbar_msg_remove $::statusbar->push($cx, $msg); } @@ -358,6 +359,7 @@ sub statusbar_msg_remove { } else { $::statusbar->pop($cx); } + $::w and $::w->{rwindow} and gtkset_mousecursor_normal($::w->{rwindow}->window); } sub slow_func_statusbar ($$&) { |