summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-05-11 19:24:56 +0000
committerDaouda Lo <daouda@mandriva.com>2004-05-11 19:24:56 +0000
commit55790d8918497abad79db58b8c37523ef60d7276 (patch)
treef2e5615555cd39e430d159b59b8d6ce6837df435
parentddfa29a8ee314c1537fb4ba110d495b9de549164 (diff)
downloadmgaonline-55790d8918497abad79db58b8c37523ef60d7276.tar
mgaonline-55790d8918497abad79db58b8c37523ef60d7276.tar.gz
mgaonline-55790d8918497abad79db58b8c37523ef60d7276.tar.bz2
mgaonline-55790d8918497abad79db58b8c37523ef60d7276.tar.xz
mgaonline-55790d8918497abad79db58b8c37523ef60d7276.zip
- gtkroot()->setmousecursor
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index d12f8ece..bcb25d2e 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -176,7 +176,7 @@ sub setLabel {
gtkflush();
}
sub configNetwork { logIt(N("Launching drakconnect\n")); system "/usr/sbin/drakconnect &" }
-sub installUpdates { logIt(N("Launching mdkupdate --applet\n")); gtkset_mousecursor_wait(); system "/usr/sbin/mdkupdate", "--applet"; silentCheck(); gtkset_mousecursor_normal() }
+sub installUpdates { logIt(N("Launching mdkupdate --applet\n")); gtkroot()->set_cursor(Gtk2::Gdk::Cursor->new('watch')); system "/usr/sbin/mdkupdate", "--applet"; silentCheck(); gtkflush; gtkroot()->set_cursor(Gtk2::Gdk::Cursor->new('left-ptr')); }
sub silentCheck {
my $link = "http://www.mandrakeonline.net/online3_RemoteAction.php" . '?action=UpdateList';
my %h = getVarsFromSh($conffile);