summaryrefslogtreecommitdiff
path: root/src/leap/baseapp
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-08-03 10:18:50 +0900
committerkali <kali@leap.se>2012-08-03 10:18:50 +0900
commit5c34052ef9261a47947e3e03616fe34b099b9fa4 (patch)
tree0a952bf7ed1ce44b5f771260134263ad224f1373 /src/leap/baseapp
parent81613b2ef70e5d73b7c34eb4b78ee63189b45ab6 (diff)
stub for daemon mode; disabled by now until #383 is fixed
Diffstat (limited to 'src/leap/baseapp')
-rw-r--r--src/leap/baseapp/mainwindow.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/leap/baseapp/mainwindow.py b/src/leap/baseapp/mainwindow.py
index fec49282..cd6600b4 100644
--- a/src/leap/baseapp/mainwindow.py
+++ b/src/leap/baseapp/mainwindow.py
@@ -59,19 +59,23 @@ class LeapWindow(QMainWindow):
mainLayout.addWidget(self.loggerBox)
widget.setLayout(mainLayout)
+ self.trayIcon.show()
+ config_file = getattr(opts, 'config_file', None)
+
#
# conductor is in charge of all
# vpn-related configuration / monitoring.
# we pass a tuple of signals that will be
# triggered when status changes.
#
- self.trayIcon.show()
- config_file = getattr(opts, 'config_file', None)
self.conductor = EIPConductor(
watcher_cb=self.newLogLine.emit,
config_file=config_file,
- status_signals=(self.statusChange.emit, ))
+ status_signals=(self.statusChange.emit, ),
+ debug=self.debugmode)
+
+ print('debugmode:%s' % self.debugmode)
if self.conductor.missing_pkexec is True:
dialog = ErrorDialog()