[Pkg-privacy-commits] [torbrowser-launcher] 27/48: hides TBL window before launching TBB (#151)
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:22:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository torbrowser-launcher.
commit 7c83817a8f076405d32c7fabd6334678af39799f
Author: Micah Lee <micah at micahflee.com>
Date: Mon Nov 24 22:19:55 2014 -0800
hides TBL window before launching TBB (#151)
---
torbrowser_launcher/launcher.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/torbrowser_launcher/launcher.py b/torbrowser_launcher/launcher.py
index 4a3830d..c0af93a 100644
--- a/torbrowser_launcher/launcher.py
+++ b/torbrowser_launcher/launcher.py
@@ -626,6 +626,11 @@ class Launcher:
t = threading.Thread(target=play_modem_sound)
t.start()
+ # hide the TBL window (#151)
+ self.window.hide()
+ while gtk.events_pending():
+ gtk.main_iteration_do(True)
+
# run Tor Browser
subprocess.call([self.common.paths['tbb']['start']])
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbrowser-launcher.git
More information about the Pkg-privacy-commits
mailing list