Skip to content

Commit

Permalink
hides TBL window before launching TBB (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
micahflee committed Nov 25, 2014
1 parent 1c0babb commit 99fac15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions torbrowser_launcher/launcher.py
Expand Up @@ -626,6 +626,11 @@ def play_modem_sound():
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']])

Expand Down

0 comments on commit 99fac15

Please sign in to comment.