summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-05 00:43:36 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-05 00:43:36 +0000
commit2592cbb477caf460d989272089dad05fc89caedb (patch)
treed748398b0a20724d76a368de5eb7b78ff4ef17ff /mdkapplet
parent3916b5af7f8a558f26e88cfc2fb79f7cc1720764 (diff)
downloadmgaonline-2592cbb477caf460d989272089dad05fc89caedb.tar
mgaonline-2592cbb477caf460d989272089dad05fc89caedb.tar.gz
mgaonline-2592cbb477caf460d989272089dad05fc89caedb.tar.bz2
mgaonline-2592cbb477caf460d989272089dad05fc89caedb.tar.xz
mgaonline-2592cbb477caf460d989272089dad05fc89caedb.zip
(checkNetwork) do not notify if already done
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 32a36c84..18f042ab 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -421,6 +421,8 @@ sub setLastTime() {
sub checkNetwork() {
if (!isNetwork()) {
+ # do not notify if already done:
+ return if member($state_global, qw(disconnected));
logIt(N_("Checking Network: seems disabled\n"));
go2State('disconnected');
} elsif (member($state_global, qw(disconnected))) {