Unverified Commit 6d4c24af authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[style] pep8

parent 2b7aafab
......@@ -459,7 +459,7 @@ class MailStatusWidget(QtGui.QWidget):
self._imap_started = True
# this is disabled for now, because this event was being
# triggered at weird times.
#elif event == catalog.IMAP_CLIENT_LOGIN:
# elif event == catalog.IMAP_CLIENT_LOGIN:
# self._hide_mail_ready()
if ext_status is not None:
......
......@@ -121,7 +121,7 @@ class PreferencesEmailPage(PreferencesPage):
webmail_enabled = self.settings.get_pixelmail_enabled()
self.ui.webmail_checkbox.setChecked(webmail_enabled)
if not HAS_PIXELATED:
self.ui.webmail_box.setVisible(False)
self.ui.webmail_box.setVisible(False)
self.ui.import_button.setVisible(False) # hide this until working
self.ui.message_label.setVisible(False)
self.ui.email_tabs.setVisible(True)
......
......@@ -39,9 +39,9 @@ class PreferencesWindow(QtGui.QDialog):
_current_window = None # currently visible preferences window
_panels = {
"account": 0,
"vpn": 1,
"email": 2
"account": 0,
"vpn": 1,
"email": 2
}
def __init__(self, parent, app):
......@@ -254,4 +254,3 @@ class PreferencesWindow(QtGui.QDialog):
index = PreferencesWindow._panels[page]
self.ui.nav_widget.setCurrentRow(index)
self.ui.pages_widget.setCurrentIndex(index)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment