diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-05 00:43:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-05 00:43:36 +0000 |
commit | 2592cbb477caf460d989272089dad05fc89caedb (patch) | |
tree | d748398b0a20724d76a368de5eb7b78ff4ef17ff | |
parent | 3916b5af7f8a558f26e88cfc2fb79f7cc1720764 (diff) | |
download | mgaonline-2592cbb477caf460d989272089dad05fc89caedb.tar mgaonline-2592cbb477caf460d989272089dad05fc89caedb.tar.gz mgaonline-2592cbb477caf460d989272089dad05fc89caedb.tar.bz2 mgaonline-2592cbb477caf460d989272089dad05fc89caedb.tar.xz mgaonline-2592cbb477caf460d989272089dad05fc89caedb.zip |
(checkNetwork) do not notify if already done
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | mdkapplet | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -1,4 +1,5 @@ - mdkapplet: o do not crash if notfiy failed on ->show (#38496) + o do not notify if no network if already done o make sure notifications' text doesn't got truncated o use more modern API to check for updates @@ -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))) { |