[Pkg-anonymity-tools] [torbrowser-launcher] 41/47: no longer detaches process when launching Tor Browser (fixes #105)

Holger Levsen holger at moszumanska.debian.org
Sat Aug 2 16:31:54 UTC 2014


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

holger pushed a commit to branch master
in repository torbrowser-launcher.

commit 710b7884ff6c86779f6d701bcb24f31e301853b8
Author: Micah Lee <micah at micahflee.com>
Date:   Thu Jul 31 13:48:43 2014 -0700

    no longer detaches process when launching Tor Browser (fixes #105)
---
 torbrowser-launcher | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/torbrowser-launcher b/torbrowser-launcher
index 9c25705..c1c0da2 100755
--- a/torbrowser-launcher
+++ b/torbrowser-launcher
@@ -1042,8 +1042,6 @@ class TBLLauncher:
         self.run_task()
 
     def run(self, run_next_task=True):
-        subprocess.Popen([self.common.paths['tbb']['start']])
-
         # play modem sound?
         if self.common.settings['modem_sound']:
             try:
@@ -1051,13 +1049,13 @@ class TBLLauncher:
                 pygame.mixer.init()
                 sound = pygame.mixer.Sound(self.common.paths['modem_sound'])
                 sound.play()
-                time.sleep(10)
             except ImportError:
                 md = gtk.MessageDialog(None, gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_WARNING, gtk.BUTTONS_CLOSE, _("The python-pygame package is missing, the modem sound is unavailable."))
                 md.set_position(gtk.WIN_POS_CENTER)
                 md.run()
                 md.destroy()
 
+        subprocess.call([self.common.paths['tbb']['start']])
 
         if run_next_task:
             self.run_task()

-- 
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