Added wsjtrc.win, configuration file for Windows.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@52 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2006-01-06 16:53:57 +00:00
parent 866b116d1d
commit 666ad46195
2 changed files with 21 additions and 6 deletions

19
wsjt.py
View File

@ -19,15 +19,22 @@ print "WSJT Version " + Version + ", by K1JT"
print "Revision date: " + \
"$Date$"[7:-1]
print "Run date: " + time.asctime(time.gmtime()) + " UTC"
try:
root.option_readfile('wsjtrc')
except:
pass
root_geom=""
#See if we are running in Windows
g.Win32=0
if sys.platform=="win32": g.Win32=1
if sys.platform=="win32":
g.Win32=1
try:
root.option_readfile('wsjtrc.win')
except:
pass
else:
try:
root.option_readfile('wsjtrc')
except:
pass
root_geom=""
#------------------------------------------------------ Global variables
appdir=os.getcwd()

8
wsjtrc.win Normal file
View File

@ -0,0 +1,8 @@
*font: Arial 9
*Label*font: Arial 9
*Text*font: "Courier New" 10
*background: gray85
*Text*background: white
*Entry*background: white
*foreground: black
*Listbox*foreground: RoyalBlue