diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-08-21 15:14:53 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-08-21 15:14:53 -0300 |
commit | 8b19f78391ec575cbc9ee0d45bca9e00e141fe5d (patch) | |
tree | c184ee3e823ed24cadeb5af8811bc6dff190941a /src | |
parent | 2984b7f5f465f99f65dc911ddf8e8ffb5481d23a (diff) | |
parent | f047cf104ba78896a2f3c8d889fa45be506bbbfb (diff) |
Merge remote-tracking branch 'kali/bug/pep8' into develop
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/bitmask/gui/statuspanel.py | 6 |
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)) |