summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet7
-rw-r--r--mdkonline.spec6
2 files changed, 8 insertions, 5 deletions
diff --git a/mdkapplet b/mdkapplet
index 65d514b7..d12f8ece 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")); system "/usr/sbin/mdkupdate", "--applet"; silentCheck() }
+sub installUpdates { logIt(N("Launching mdkupdate --applet\n")); gtkset_mousecursor_wait(); system "/usr/sbin/mdkupdate", "--applet"; silentCheck(); gtkset_mousecursor_normal() }
sub silentCheck {
my $link = "http://www.mandrakeonline.net/online3_RemoteAction.php" . '?action=UpdateList';
my %h = getVarsFromSh($conffile);
@@ -192,10 +192,11 @@ sub silentCheck {
my $request = HTTP::Request->new(GET => $link . '&log=' . $h{LOGIN} . '&host=' . $h{MACHINE});
my $lnk = $link . '&log=' . $h{LOGIN} . '&host=' . $h{MACHINE};
logIt(N("Connecting to") . " $lnk ...\n");
+ gtkflush(); go2State('busy'); gtkflush();
my $response = $ua->request($request);
my $ct = $response->content;
# print "\nCONTENTS = $ct\n";
- logIt(N("Response from MandrakeOnline server\n") . "$ct");
+# logIt(N("Response from MandrakeOnline server\n") . "$ct");
if ($ct =~ /rpm/) { $u = 11 } elsif ($ct =~ m/(\d+)/) { $u = sprintf("%d",$1); } else { $u = 10 };
# 99 - log or host or action or pass empty, wrong action
# 98 - wrong pass
@@ -330,8 +331,6 @@ sub checkUpdates {
logIt(N("Checking config file: Not present\n"));
go2State('noconfig')
} else {
- gtkflush();
- go2State('busy'); gtkflush();
silentCheck();
}
setLabel($update_label, $isAvailable ? N("Available") : N("Not Available"));
diff --git a/mdkonline.spec b/mdkonline.spec
index a7ddd7d7..53931337 100644
--- a/mdkonline.spec
+++ b/mdkonline.spec
@@ -4,7 +4,7 @@
Summary: The MandrakeOnline Tool
Name: %{name}
Version: %{version}
-Release: 5mdk
+Release: 6mdk
Source0: %{name}-%{version}.tar.bz2
URL: http://www.mandrakeonline.net
Packager: Daouda Lo <daouda@mandrakesoft.com>
@@ -96,6 +96,10 @@ rm -rf $RPM_BUILD_ROOT
# get the source from our cvs repository (see
# http://www.linuxmandrake.com/en/cvs.php3)
%changelog
+* Tue May 11 2004 Daouda LO <daouda@mandrakesoft.com> 1.0-6mdk
+- use mouse clock cursor when busy with applet busy icon.
+- decrease debug messages
+
* Mon May 10 2004 Daouda LO <daouda@mandrakesoft.com> 1.0-5mdk
- more meaningful icons set for applet state (big up 2 ln)