summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/app.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-04-10 16:59:07 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-04-10 17:16:01 -0300
commit65bbc9ac87092053a8079d4d7d88cac4df5fbc36 (patch)
tree403dfe583f7462865948861b254105f5cd69f6ab /src/leap/bitmask/app.py
parentc3a21a28ba3b3a8200959ec67b0447c982448941 (diff)
Add flag to start the app hidden in the tray.
Closes #4990.
Diffstat (limited to 'src/leap/bitmask/app.py')
-rw-r--r--src/leap/bitmask/app.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py
index 02e27123..ca1226de 100644
--- a/src/leap/bitmask/app.py
+++ b/src/leap/bitmask/app.py
@@ -201,6 +201,7 @@ def main():
logfile = opts.log_file
mail_logfile = opts.mail_log_file
openvpn_verb = opts.openvpn_verb
+ start_hidden = opts.start_hidden
#############################################################
# Given how paths and bundling works, we need to delay the imports
@@ -307,7 +308,8 @@ def main():
window = MainWindow(
lambda: twisted_main.quit(app),
openvpn_verb=openvpn_verb,
- bypass_checks=bypass_checks)
+ bypass_checks=bypass_checks,
+ start_hidden=start_hidden)
sigint_window = partial(sigint_handler, window, logger=logger)
signal.signal(signal.SIGINT, sigint_window)