diff options
author | kali <kali@leap.se> | 2012-10-26 05:16:44 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-10-26 05:16:44 +0900 |
commit | 0a8a34879a701a2d045f628403c6a0f8be21dc82 (patch) | |
tree | 49728df8753cad8c135bb261209034803073f7de /src/leap/baseapp/systray.py | |
parent | b66f946c9e7bbdf4bfb7ceb7ffcf340257b2165e (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.py | 5 |
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') |