summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index f2a7aa61..0c3e0343 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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();