diff options
author | Kali Kaneko <kali@leap.se> | 2014-07-01 01:48:50 -0500 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-07-01 01:48:50 -0500 |
commit | 44a3896a86c33cbca4d239c8bd0fe65c0e83b9d0 (patch) | |
tree | a2e0c6b0163c6c54e518c8e620e431d3784d8b6c /src/leap/bitmask/gui/eip_status.py | |
parent | b2a00d0ce2db905fe79cf9e7c33411f4f37bb943 (diff) | |
parent | 1e456b0fff46001641a736bc5932314e9d00b1bc (diff) |
Merge branch 'develop' into deb-0.5.3
Diffstat (limited to 'src/leap/bitmask/gui/eip_status.py')
-rw-r--r-- | src/leap/bitmask/gui/eip_status.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/leap/bitmask/gui/eip_status.py b/src/leap/bitmask/gui/eip_status.py index 8b9f2d44..bd569343 100644 --- a/src/leap/bitmask/gui/eip_status.py +++ b/src/leap/bitmask/gui/eip_status.py @@ -88,6 +88,8 @@ class EIPStatusWidget(QtGui.QWidget): self.is_restart = False self.is_cold_start = True + self.missing_helpers = False + # Action for the systray self._eip_disabled_action = QtGui.QAction( "{0} is {1}".format(self._service_name, self.tr("disabled")), self) @@ -298,7 +300,12 @@ class EIPStatusWidget(QtGui.QWidget): # probably the best thing would be to make a conditional # transition there, but that's more involved. self.eip_button.hide() - msg = self.tr("You must login to use {0}".format(self._service_name)) + if self.missing_helpers: + msg = self.tr( + "<font color=red>Disabled: missing helper files</font>") + else: + msg = self.tr( + "You must login to use {0}".format(self._service_name)) self.eip_label.setText(msg) self._eip_status_menu.setTitle("{0} is {1}".format( self._service_name, self.tr("disabled"))) |