From 673243878aa667d574530e32e98d535bbb0ef746 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 21 Mar 2008 17:20:34 +0000 Subject: (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)") --- NEWS | 3 +++ mdkapplet | 5 ----- 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; }); -- cgit v1.2.1