summaryrefslogtreecommitdiff
path: root/src/leap/baseapp/systray.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-12-17 05:05:37 +0900
committerkali <kali@leap.se>2012-12-17 05:05:37 +0900
commit89694babd14a9b2ba76095911b6884e359a12282 (patch)
treec80c8f458e94d137be20060820abc51a89099a0a /src/leap/baseapp/systray.py
parent0c2275222cf77bf5975a25a75ab0e50ac752bc9e (diff)
network checker launched by signal
fixes problem with provider domain not being defined during first run.
Diffstat (limited to 'src/leap/baseapp/systray.py')
-rw-r--r--src/leap/baseapp/systray.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/baseapp/systray.py b/src/leap/baseapp/systray.py
index 52060ae2..0dd0f195 100644
--- a/src/leap/baseapp/systray.py
+++ b/src/leap/baseapp/systray.py
@@ -230,6 +230,11 @@ class StatusAwareTrayIconMixin(object):
leap_status_name = self.conductor.get_leap_status()
self.eipStatusChange.emit(leap_status_name)
+ if icon_name == "connected":
+ # When we change to "connected', we launch
+ # the network checker.
+ self.initNetworkChecker.emit()
+
self.setIcon(icon_name)
# change connection pixmap widget
self.setConnWidget(icon_name)