summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-05-14 12:25:00 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-05-21 15:09:27 -0300
commit3a81b31204680bf2ba0abe26467aef201cf030fa (patch)
tree7648cfc368d07fd97080eee12db1541f4e833cfc /src/leap/bitmask/gui
parent2f57c31cda8208340322efd5c02f8b9120ce29aa (diff)
Move Mail logic to backend.
Diffstat (limited to 'src/leap/bitmask/gui')
-rw-r--r--src/leap/bitmask/gui/mainwindow.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index bf76f574..370a9d43 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -282,8 +282,9 @@ class MainWindow(QtGui.QMainWindow):
self._soledad = ProxyBase(None)
self._keymanager = ProxyBase(None)
- self._mail_conductor = mail_conductor.MailConductor(
- self._soledad, self._keymanager)
+ self._mail_conductor = mail_conductor.MailConductor(self._backend)
+ # self._mail_conductor = mail_conductor.MailConductor(
+ # self._soledad, self._keymanager)
self._mail_conductor.connect_mail_signals(self._mail_status)
# Eip machine is a public attribute where the state machine for
@@ -1423,8 +1424,7 @@ class MainWindow(QtGui.QMainWindow):
return
if self._provides_mx_and_enabled():
- self._mail_conductor.start_smtp_service(self._provider_config,
- download_if_needed=True)
+ self._mail_conductor.start_smtp_service(download_if_needed=True)
# XXX --- should remove from here, and connecte directly to the state
# machine.