summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-05 00:29:27 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-05 00:29:27 +0000
commit538aab87a672a4dda0da5aebe54847f46a5a6e96 (patch)
treedf5fee153cb2a7ebbf220394462be4d7fee3baf5
parentb87124c88628d80be96e5a1873a4135c068cfd70 (diff)
downloadmgaonline-538aab87a672a4dda0da5aebe54847f46a5a6e96.tar
mgaonline-538aab87a672a4dda0da5aebe54847f46a5a6e96.tar.gz
mgaonline-538aab87a672a4dda0da5aebe54847f46a5a6e96.tar.bz2
mgaonline-538aab87a672a4dda0da5aebe54847f46a5a6e96.tar.xz
mgaonline-538aab87a672a4dda0da5aebe54847f46a5a6e96.zip
(checkConfig) rename it as checkNetwork() since that really what it does
-rwxr-xr-xmdkapplet6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index 105cf2a2..ac9714c4 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -222,7 +222,7 @@ shouldStart() or die "$localfile should be set to TRUE: please use --force or -f
go2State('delayed');
gtkflush();
-checkConfig();
+checkNetwork();
Glib::Timeout->add($config{FIRST_CHECK_DELAY}, sub { checkUpdates(); 0 });
setup_cyclic_check();
@@ -402,7 +402,7 @@ sub setup_cyclic_check() {
$first_run = 1;
return 1;
}
- checkConfig();
+ checkNetwork();
checkUpdates();
1;
});
@@ -419,7 +419,7 @@ sub setLastTime() {
setVar($localfile, 'LASTCHECK', $date);
}
-sub checkConfig() {
+sub checkNetwork() {
if (!isNetwork()) {
logIt(N_("Checking Network: seems disabled\n"));
go2State('disconnected');