1.1 --- a/OpenSecurity/bin/opensecurity_tray.pyw Fri Feb 14 14:08:24 2014 +0100
1.2 +++ b/OpenSecurity/bin/opensecurity_tray.pyw Fri Mar 07 14:32:12 2014 +0100
1.3 @@ -44,7 +44,7 @@
1.4 # local
1.5 from about import About
1.6 from environment import Environment
1.7 -
1.8 +from cygwin import Cygwin
1.9
1.10 # ------------------------------------------------------------
1.11 # code
1.12 @@ -103,12 +103,13 @@
1.13 try:
1.14
1.15 # get a proper browsing VM
1.16 + Cygwin.start_X11()
1.17 browsing_vm = urllib2.urlopen('http://127.0.0.1:8080/browsing').readline()
1.18 - dlg_launch_image = os.path.join(sys.path[0], 'launch.pyw')
1.19 + #dlg_launch_image = os.path.join(sys.path[0], 'launch.pyw')
1.20 #process_command = [sys.executable, dlg_launch_image, browsing_vm, '/usr/bin/iceweasel']
1.21 - process_command = [sys.executable, dlg_launch_image, browsing_vm, '/usr/bin/midori']
1.22 - print(process_command)
1.23 - process = subprocess.Popen(process_command, shell = False)
1.24 + #process_command = [sys.executable, dlg_launch_image, browsing_vm, '/usr/bin/midori']
1.25 + #print(process_command)
1.26 + #process = subprocess.Popen(process_command, shell = False)
1.27
1.28 except:
1.29 dlg.hide()