From 8a9b6d0f0f469136e4a5911a48c0f025ceda11d6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 21 Mar 2008 17:32:58 +0000 Subject: check for network just before first check --- mdkapplet | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mdkapplet') diff --git a/mdkapplet b/mdkapplet index 68df2e0a..369c9979 100755 --- a/mdkapplet +++ b/mdkapplet @@ -223,7 +223,12 @@ shouldStart() or die "$localfile should be set to TRUE: please use --force or -f go2State('delayed'); gtkflush(); -Glib::Timeout->add($config{FIRST_CHECK_DELAY}, sub { checkUpdates(); 0 }); +Glib::Timeout->add($config{FIRST_CHECK_DELAY}, sub { + # perform a test after initial delay: + checkNetwork(); + checkUpdates(); + 0; + }); setup_cyclic_check(); -- cgit v1.2.1