summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/statuspanel.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-08-21 19:37:59 +0200
committerKali Kaneko <kali@leap.se>2013-08-21 19:37:59 +0200
commitf047cf104ba78896a2f3c8d889fa45be506bbbfb (patch)
treefa3ddbb0821e5864ff98596afacf97f86d468a0c /src/leap/bitmask/gui/statuspanel.py
parent65f4862e21a96c4fff8915f3cfff713f52ec2c61 (diff)
pep8
Diffstat (limited to 'src/leap/bitmask/gui/statuspanel.py')
-rw-r--r--src/leap/bitmask/gui/statuspanel.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/leap/bitmask/gui/statuspanel.py b/src/leap/bitmask/gui/statuspanel.py
index f5c74bed..9352eb04 100644
--- a/src/leap/bitmask/gui/statuspanel.py
+++ b/src/leap/bitmask/gui/statuspanel.py
@@ -641,7 +641,8 @@ class StatusPanelWidget(QtGui.QWidget):
if self._smtp_started and self._imap_started:
self.ui.lblMailStatus.setText(self.tr("ON"))
self.ui.lblMailIcon.setPixmap(QtGui.QPixmap(self.MAIL_ON_ICON))
- self.ui.lblMailIcon.setPixmap(QtGui.QPixmap(":/images/mail-locked.png"))
+ self.ui.lblMailIcon.setPixmap(
+ QtGui.QPixmap(":/images/mail-locked.png"))
ext_status = ""
elif req.event == proto.SMTP_SERVICE_FAILED_TO_START:
ext_status = self.tr("SMTP failed to start, check the logs.")
@@ -686,7 +687,8 @@ class StatusPanelWidget(QtGui.QWidget):
self.ui.lblMailStatus.setText(self.tr("Failed"))
elif req.event == proto.IMAP_UNREAD_MAIL:
if self._smtp_started and self._imap_started:
- self.ui.lblUnread.setText(self.tr("%s Unread Emails") % (req.content))
+ self.ui.lblUnread.setText(
+ self.tr("%s Unread Emails") % (req.content))
self.ui.lblUnread.setVisible(req.content != "0")
self.ui.lblMailStatus.setText(self.tr("ON"))
self.ui.lblMailIcon.setPixmap(QtGui.QPixmap(self.MAIL_ON_ICON))