diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-05 00:29:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-05 00:29:27 +0000 |
commit | 538aab87a672a4dda0da5aebe54847f46a5a6e96 (patch) | |
tree | df5fee153cb2a7ebbf220394462be4d7fee3baf5 | |
parent | b87124c88628d80be96e5a1873a4135c068cfd70 (diff) | |
download | mgaonline-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-x | mdkapplet | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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'); |