[tuxdroid-svn] r316 - software/tuxgi/trunk
Status: Beta
Brought to you by:
ks156
From: jaguarondi <c2m...@c2...> - 2007-05-12 09:54:08
|
Author: jaguarondi Date: 2007-05-12 11:54:06 +0200 (Sat, 12 May 2007) New Revision: 316 Modified: software/tuxgi/trunk/tuxgi.py Log: - BUG #21: xfce-terminal added to the list and list handling improved by neimad and madjar (Georges Dubus) Modified: software/tuxgi/trunk/tuxgi.py =================================================================== --- software/tuxgi/trunk/tuxgi.py 2007-05-11 22:03:29 UTC (rev 315) +++ software/tuxgi/trunk/tuxgi.py 2007-05-12 09:54:06 UTC (rev 316) @@ -58,14 +58,17 @@ toggled_by_event=False terminal_shells = [ - ('gnome-terminal','gnome-terminal -x python -i /opt/tuxdroid/api/python/tux.py'), # gnome - ('konsole','konsole -e python -i /opt/tuxdroid/api/python/tux.py'), # kde - ('Terminal',' -x python -i /opt/tuxdroid/api/python/tux.py'), # xfce - ('xterm','xterm -e python -i /opt/tuxdroid/api/python/tux.py'), # X + ('gnome-terminal', '-x'), # gnome + ('konsole', '-e'), # kde + ('Terminal', '-x'), # xfce + ('xfce4-terminal', '-x'), # xfce + ('xterm', '-e'), # X ] # list of tuple instead of a dictionary as the order matters + for term in terminal_shells: if not os.popen('type %s'%term[0]).close(): - xterm_cmd = term[1] + xterm_cmd = '%s %s python -i /opt/tuxdroid/api/python/tux.py' \ + % (term[0], term[1]) break #============================================================================== # Main window class |