summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-10-01 15:02:09 -0400
committerKali Kaneko <kali@leap.se>2013-10-02 14:57:22 -0400
commite9c84a3d2d9fd3a0457f256a908cb5bce9351682 (patch)
tree1e0397080b64dac8fdf2b5e875f052925de66441
parentd4192fce8317372869005ce2b5c455d10763e058 (diff)
remove duplicated method definition
-rw-r--r--src/leap/bitmask/gui/eip_status.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/leap/bitmask/gui/eip_status.py b/src/leap/bitmask/gui/eip_status.py
index f7408b13..6b1235a6 100644
--- a/src/leap/bitmask/gui/eip_status.py
+++ b/src/leap/bitmask/gui/eip_status.py
@@ -216,22 +216,6 @@ class EIPStatusWidget(QtGui.QWidget):
leap_assert_type(eip_status_menu, QtGui.QMenu)
self._eip_status_menu = eip_status_menu
- def set_eip_status(self, status, error=False):
- """
- Sets the global status label.
-
- :param status: status message
- :type status: str or unicode
- :param error: if the status is an erroneous one, then set this
- to True
- :type error: bool
- """
- leap_assert_type(error, bool)
- if error:
- status = "<font color='red'><b>%s</b></font>" % (status,)
- self.ui.lblEIPStatus.setText(status)
- self.ui.lblEIPStatus.show()
-
# EIP status ---
@property
@@ -261,9 +245,7 @@ class EIPStatusWidget(QtGui.QWidget):
:type error: bool
"""
leap_assert_type(error, bool)
-
self._eip_status = status
-
if error:
status = "<font color='red'>%s</font>" % (status,)
self.ui.lblEIPStatus.setText(status)