summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-21 17:20:34 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-21 17:20:34 +0000
commit673243878aa667d574530e32e98d535bbb0ef746 (patch)
treed8c0153bee639bbcb019278e56ddf586b646f819
parent0a15489d90cb0bf7e61415220182b6009b03ded9 (diff)
downloadmgaonline-673243878aa667d574530e32e98d535bbb0ef746.tar
mgaonline-673243878aa667d574530e32e98d535bbb0ef746.tar.gz
mgaonline-673243878aa667d574530e32e98d535bbb0ef746.tar.bz2
mgaonline-673243878aa667d574530e32e98d535bbb0ef746.tar.xz
mgaonline-673243878aa667d574530e32e98d535bbb0ef746.zip
(setup_cyclic_check) do not skip first RPM check (reverting r57280
from 2007-03-23: "(setup_cyclic_check) skip the first check (aka wait 3hour)")
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet5
2 files changed, 3 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 1f087f01..62f8a17f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet:
+ o do not skip first RPM check (change made in 2.16 in march 2007)
+
Version 2.38 - 20 March 2008, Thierry Vignaud
- do not display "install updates" button when notifying about network
diff --git a/mdkapplet b/mdkapplet
index 37d93673..dfdf65b3 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -391,11 +391,6 @@ sub okState() { logIt(N_("System is up-to-date\n")); go2State('okay') }
sub setup_cyclic_check() {
$network_timeout = Glib::Timeout->add(2000, sub { checkNetwork(); 1 });
$timeout = Glib::Timeout->add($config{UPDATE_FREQUENCY}*1000, sub {
- my $first_run if 0;
- if (!$first_run) {
- $first_run = 1;
- return 1;
- }
checkUpdates();
1;
});