diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-23 18:20:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-23 18:20:47 +0000 |
commit | ac035439e8e95a7e53dd174f1aae7f69c573eb6d (patch) | |
tree | d973d4ba0cc52ffee0cf03a109d4fbed8b544121 /mdkapplet | |
parent | 459a7f7181334cecd7c04153a9120e14cd14e033 (diff) | |
download | mgaonline-ac035439e8e95a7e53dd174f1aae7f69c573eb6d.tar mgaonline-ac035439e8e95a7e53dd174f1aae7f69c573eb6d.tar.gz mgaonline-ac035439e8e95a7e53dd174f1aae7f69c573eb6d.tar.bz2 mgaonline-ac035439e8e95a7e53dd174f1aae7f69c573eb6d.tar.xz mgaonline-ac035439e8e95a7e53dd174f1aae7f69c573eb6d.zip |
(setup_cyclic_check) skip the first check (aka wait 3hour)
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -496,6 +496,12 @@ sub setup_cyclic_check() { 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; }); |