summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/gui')
-rw-r--r--src/leap/bitmask/gui/mail_status.py2
-rw-r--r--src/leap/bitmask/gui/preferences_email_page.py2
-rw-r--r--src/leap/bitmask/gui/preferenceswindow.py7
3 files changed, 5 insertions, 6 deletions
diff --git a/src/leap/bitmask/gui/mail_status.py b/src/leap/bitmask/gui/mail_status.py
index 1045343b..cb0314b5 100644
--- a/src/leap/bitmask/gui/mail_status.py
+++ b/src/leap/bitmask/gui/mail_status.py
@@ -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:
diff --git a/src/leap/bitmask/gui/preferences_email_page.py b/src/leap/bitmask/gui/preferences_email_page.py
index 0f44dfee..93c77df1 100644
--- a/src/leap/bitmask/gui/preferences_email_page.py
+++ b/src/leap/bitmask/gui/preferences_email_page.py
@@ -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)
diff --git a/src/leap/bitmask/gui/preferenceswindow.py b/src/leap/bitmask/gui/preferenceswindow.py
index 30091312..50a972e1 100644
--- a/src/leap/bitmask/gui/preferenceswindow.py
+++ b/src/leap/bitmask/gui/preferenceswindow.py
@@ -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)
-