summaryrefslogtreecommitdiff
path: root/src/leap/baseapp/systray.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-10-26 05:16:44 +0900
committerkali <kali@leap.se>2012-10-26 05:16:44 +0900
commit0a8a34879a701a2d045f628403c6a0f8be21dc82 (patch)
tree49728df8753cad8c135bb261209034803073f7de /src/leap/baseapp/systray.py
parentb66f946c9e7bbdf4bfb7ceb7ffcf340257b2165e (diff)
stop eip connection when first run wizard started
Closes #716
Diffstat (limited to 'src/leap/baseapp/systray.py')
-rw-r--r--src/leap/baseapp/systray.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/leap/baseapp/systray.py b/src/leap/baseapp/systray.py
index 8777207c..06be2975 100644
--- a/src/leap/baseapp/systray.py
+++ b/src/leap/baseapp/systray.py
@@ -129,12 +129,9 @@ class StatusAwareTrayIconMixin(object):
def toggleEIPAct(self):
# this is too simple by now.
- # XXX We need to get the REAL info for Encryption state.
- # (now is ON as soon as vpn launched)
-
# XXX get STATUS CONSTANTS INSTEAD
- icon_status = self.conductor.status.get_state_icon()
+ icon_status = self.conductor.get_icon_name()
if icon_status == "connected":
self.connAct.setEnabled(True)
self.connAct.setText('Encryption ON turn o&ff')