From f047cf104ba78896a2f3c8d889fa45be506bbbfb Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Wed, 21 Aug 2013 19:37:59 +0200 Subject: pep8 --- src/leap/bitmask/gui/statuspanel.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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)) -- cgit v1.2.3