summaryrefslogtreecommitdiff
path: root/src/leap/gui/mainwindow.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@yahoo.com.ar>2013-07-10 15:06:45 -0300
committerIvan Alejandro <ivanalejandro0@yahoo.com.ar>2013-07-10 16:55:34 -0300
commitcc1d8f31071bb99690a355c244b945aa753918a9 (patch)
tree0b3a5ed9f7319c7b230c69087f9a3c13ed2402e1 /src/leap/gui/mainwindow.py
parent6425331ad6cb74ac44ed95b98adf4eae0f6e6255 (diff)
Bugfix: Systray Turn ON action fails. Closes #3125
Diffstat (limited to 'src/leap/gui/mainwindow.py')
-rw-r--r--src/leap/gui/mainwindow.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/gui/mainwindow.py b/src/leap/gui/mainwindow.py
index 8283e72f..93a1eafa 100644
--- a/src/leap/gui/mainwindow.py
+++ b/src/leap/gui/mainwindow.py
@@ -238,9 +238,12 @@ class MainWindow(QtGui.QMainWindow):
self._action_eip_status)
self._action_eip_startstop = QtGui.QAction(
- self.tr("Turn ON"), self)
+ self.tr("Turn OFF"), self)
self._action_eip_startstop.triggered.connect(
self._stop_eip)
+ self._action_eip_startstop.setEnabled(False)
+ self._status_panel.set_action_eip_startstop(
+ self._action_eip_startstop)
self._action_visible = QtGui.QAction(self.tr("Hide Main Window"), self)
self._action_visible.triggered.connect(self._toggle_visible)