summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet6
1 files changed, 6 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index bb81f246..c257a9c2 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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;
});