[Pkg-anonymity-tools] [torbrowser-launcher] 11/23: hides TBL window before launching TBB (#151)

Ulrike Uhlig u-guest at moszumanska.debian.org
Mon Dec 1 21:16:48 UTC 2014


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to branch debian
in repository torbrowser-launcher.

commit 99fac15206da6d71f5c150ecd7f1d3fcce34d572
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/collab-maint/torbrowser-launcher.git



More information about the Pkg-anonymity-tools mailing list