[Pkg-privacy-commits] [torbrowser-launcher] 296/476: no longer detaches process when launching Tor Browser (fixes #105)
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:21:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
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/pkg-privacy/packages/torbrowser-launcher.git
More information about the Pkg-privacy-commits
mailing list