summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/eip_status.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-06-04 10:11:46 -0500
committerKali Kaneko <kali@leap.se>2014-06-04 14:01:48 -0500
commit0626d6349472bdcd934328165cfe1a0e7d891bfe (patch)
treef96d28de642e15c67fe9cf39db4a7705501a8a89 /src/leap/bitmask/gui/eip_status.py
parentaeb89d2c64f8925d5063149e718ec2d97248b7c4 (diff)
catch openvpn unexpected ending
show also the back-to-clearnet button on that case.
Diffstat (limited to 'src/leap/bitmask/gui/eip_status.py')
-rw-r--r--src/leap/bitmask/gui/eip_status.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/eip_status.py b/src/leap/bitmask/gui/eip_status.py
index fd8b35c3..7649f840 100644
--- a/src/leap/bitmask/gui/eip_status.py
+++ b/src/leap/bitmask/gui/eip_status.py
@@ -400,6 +400,11 @@ class EIPStatusWidget(QtGui.QWidget):
self.eip_conductor._backend.tear_fw_down()
QtDelayedCall(50, self.hide_fw_down_button)
+ # XXX do actual check
+ msg = "Traffic is being routed in the clear."
+ self.set_eip_message(msg)
+ self.set_eip_status("")
+
@QtCore.Slot(dict)
def eip_stopped(self, restart=False, failed=False):
"""