diff options
author | kali <kali@leap.se> | 2012-08-03 10:18:50 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-08-03 10:18:50 +0900 |
commit | 5c34052ef9261a47947e3e03616fe34b099b9fa4 (patch) | |
tree | 0a952bf7ed1ce44b5f771260134263ad224f1373 /src/leap/baseapp/mainwindow.py | |
parent | 81613b2ef70e5d73b7c34eb4b78ee63189b45ab6 (diff) |
stub for daemon mode; disabled by now until #383 is fixed
Diffstat (limited to 'src/leap/baseapp/mainwindow.py')
-rw-r--r-- | src/leap/baseapp/mainwindow.py | 10 |
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() |