commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue-navigator/src GNClient.py UIwin32.py


From: Bajusz Tamás
Subject: gnue-navigator/src GNClient.py UIwin32.py
Date: Wed, 25 Jun 2003 19:03:50 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue-navigator
Branch:         
Changes by:     Bajusz Tamás <address@hidden>   03/06/25 19:03:50

Modified files:
        src            : GNClient.py 
Added files:
        src            : UIwin32.py 

Log message:
        starting a native win32 navigator driver

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-navigator/src/UIwin32.py?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-navigator/src/GNClient.py.diff?tr1=1.19&tr2=1.20&r1=text&r2=text

Patches:
Index: gnue-navigator/src/GNClient.py
diff -c gnue-navigator/src/GNClient.py:1.19 gnue-navigator/src/GNClient.py:1.20
*** gnue-navigator/src/GNClient.py:1.19 Mon Jun 16 08:39:27 2003
--- gnue-navigator/src/GNClient.py      Wed Jun 25 19:03:50 2003
***************
*** 149,154 ****
--- 149,160 ----
        else:
          self.ui_type='text'
  
+     if self.ui_type == 'win32':
+       if os.environ.has_key('DISPLAY') or os.name != 'posix':
+         import UIwin32 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]