[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/navigator/src GNClient.py UIwxweb.py
From: |
Jason Cater |
Subject: |
gnue/navigator/src GNClient.py UIwxweb.py |
Date: |
Thu, 10 Jan 2002 20:14:54 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Jason Cater <address@hidden> 02/01/10 20:14:54
Modified files:
navigator/src : GNClient.py
Added files:
navigator/src : UIwxweb.py
Log message:
syncing machines
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/navigator/src/UIwxweb.py?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/navigator/src/GNClient.py.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: gnue/navigator/src/GNClient.py
diff -c gnue/navigator/src/GNClient.py:1.3 gnue/navigator/src/GNClient.py:1.4
*** gnue/navigator/src/GNClient.py:1.3 Tue Jan 8 23:57:40 2002
--- gnue/navigator/src/GNClient.py Thu Jan 10 20:14:54 2002
***************
*** 52,58 ****
COMMAND_OPTIONS = [
[ 'user_interface', 'u', 'user_interface', 1, 'gui', 'type',
'The currently supported values for <type> are ' \
! + 'gui, text, and curses' ],
[ 'splash_screen','s','no-splash', 0, None, None,
'Disables the splash screen'],
[ 'gnome_menu',None,'install-gnome-menu', 0, None, None,
--- 52,58 ----
COMMAND_OPTIONS = [
[ 'user_interface', 'u', 'user_interface', 1, 'gui', 'type',
'The currently supported values for <type> are ' \
! + 'gui, web (a themable web-like interface), and text' ],
[ 'splash_screen','s','no-splash', 0, None, None,
'Disables the splash screen'],
[ 'gnome_menu',None,'install-gnome-menu', 0, None, None,
***************
*** 119,124 ****
--- 119,130 ----
# Initialize user interface (defaults to gui)
# If the DISPLAY var isn't set then switch to text
+ if self.ui_type == 'web':
+ if os.environ.has_key('DISPLAY') or os.name != 'posix':
+ import UIwxweb as interface
+ else:
+ self.ui_type='text'
+
if self.ui_type == 'gui':
if os.environ.has_key('DISPLAY') or os.name != 'posix':
import UIwxpython as interface
***************
*** 128,135 ****
if self.ui_type == 'text' :
import UItext as interface
-
- # TODO: Um, reuse Form's UI :)
interface.Instance(nav).run()
if __name__ == '__main__':
--- 134,139 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/navigator/src GNClient.py UIwxweb.py,
Jason Cater <=