summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-21 17:34:14 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-21 17:34:14 +0000
commit7e1fcf17dd328066d445903cf0e44b0b2ffb02df (patch)
tree2522832826926805ce6bef4847da398636933c17
parent8a9b6d0f0f469136e4a5911a48c0f025ceda11d6 (diff)
downloadmgaonline-7e1fcf17dd328066d445903cf0e44b0b2ffb02df.tar
mgaonline-7e1fcf17dd328066d445903cf0e44b0b2ffb02df.tar.gz
mgaonline-7e1fcf17dd328066d445903cf0e44b0b2ffb02df.tar.bz2
mgaonline-7e1fcf17dd328066d445903cf0e44b0b2ffb02df.tar.xz
mgaonline-7e1fcf17dd328066d445903cf0e44b0b2ffb02df.zip
do not start network cyclic checks before first media test (#38991) ; also do
2nd check 3hrs after first one instead of 3hrs minus initial delay
-rw-r--r--NEWS1
-rwxr-xr-xmdkapplet2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index dcf537eb..9a083714 100644
--- a/NEWS
+++ b/NEWS
@@ -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 do not start network cyclic checks before first media test (#38991)
o check for network just before first check
Version 2.38 - 20 March 2008, Thierry Vignaud
diff --git a/mdkapplet b/mdkapplet
index 369c9979..cca3ba93 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -224,12 +224,12 @@ go2State('delayed');
gtkflush();
Glib::Timeout->add($config{FIRST_CHECK_DELAY}, sub {
+ setup_cyclic_check();
# perform a test after initial delay:
checkNetwork();
checkUpdates();
0;
});
-setup_cyclic_check();
$SIG{USR1} = 'IGNORE';