diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-21 17:32:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-21 17:32:58 +0000 |
commit | 8a9b6d0f0f469136e4a5911a48c0f025ceda11d6 (patch) | |
tree | 62bdbbf4ff870a42333f3476712f580e1abe39fe | |
parent | ab0ed03bfd8723f106ba8b02e75a02cbfb3b646e (diff) | |
download | mgaonline-8a9b6d0f0f469136e4a5911a48c0f025ceda11d6.tar mgaonline-8a9b6d0f0f469136e4a5911a48c0f025ceda11d6.tar.gz mgaonline-8a9b6d0f0f469136e4a5911a48c0f025ceda11d6.tar.bz2 mgaonline-8a9b6d0f0f469136e4a5911a48c0f025ceda11d6.tar.xz mgaonline-8a9b6d0f0f469136e4a5911a48c0f025ceda11d6.zip |
check for network just before first check
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | mdkapplet | 7 |
2 files changed, 7 insertions, 1 deletions
@@ -1,6 +1,7 @@ - mdkapplet: o do not check for network while checking for updates o do not skip first RPM check (change made in 2.16 in march 2007) + o check for network just before first check Version 2.38 - 20 March 2008, Thierry Vignaud @@ -223,7 +223,12 @@ shouldStart() or die "$localfile should be set to TRUE: please use --force or -f go2State('delayed'); gtkflush(); -Glib::Timeout->add($config{FIRST_CHECK_DELAY}, sub { checkUpdates(); 0 }); +Glib::Timeout->add($config{FIRST_CHECK_DELAY}, sub { + # perform a test after initial delay: + checkNetwork(); + checkUpdates(); + 0; + }); setup_cyclic_check(); |