summaryrefslogtreecommitdiff
path: root/src/leap/baseapp/mainwindow.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-10-11 08:23:22 +0900
committerkali <kali@leap.se>2012-10-11 08:23:22 +0900
commitb70a6664f0603297bf8b20809b5a64677900b405 (patch)
tree2071e7d53a5e0ae774a166294ba5253b54548e46 /src/leap/baseapp/mainwindow.py
parent5dbe01e4dd22fba66d9553c062b89ae9c3a39256 (diff)
add signal to end of eip checks
this fixes random error on leap initialization
Diffstat (limited to 'src/leap/baseapp/mainwindow.py')
-rw-r--r--src/leap/baseapp/mainwindow.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/baseapp/mainwindow.py b/src/leap/baseapp/mainwindow.py
index 87886767..3b6cb544 100644
--- a/src/leap/baseapp/mainwindow.py
+++ b/src/leap/baseapp/mainwindow.py
@@ -33,6 +33,7 @@ class LeapWindow(QtGui.QMainWindow,
initReady = QtCore.pyqtSignal([])
networkError = QtCore.pyqtSignal([object])
triggerEIPError = QtCore.pyqtSignal([object])
+ start_eipconnection = QtCore.pyqtSignal([])
# XXX fix nomenclature here
# this is eip status change got from vpn management
@@ -80,6 +81,8 @@ class LeapWindow(QtGui.QMainWindow,
if self.debugmode:
self.startStopButton.clicked.connect(
lambda: self.start_or_stopVPN())
+ self.start_eipconnection.connect(
+ lambda: self.start_or_stopVPN())
# status change.
# TODO unify