diff options
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -71,6 +71,7 @@ my $release = mdkonline::get_release(); my %config = getVarsFromSh('/etc/sysconfig/mdkapplet'); $config{UPDATE_FREQUENCY} ||= 3*60*60; # default to 3hours +$config{FIRST_CHECK_DELAY} ||= 250000; # default to 25 seconds sub my_sprintf_fixutf8 { mdkonline::get_release() < 2006.0 ? common::sprintf_fixutf8(@_) : @_; @@ -241,7 +242,7 @@ $icon->show_all; go2State('okay'); gtkflush(); checkConfig(); -Glib::Timeout->add(25000, sub { checkUpdates(); 0 }); +Glib::Timeout->add($config{FIRST_CHECK_DELAY}, sub { checkUpdates(); 0 }); setup_cyclic_check(); |