mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-22 12:08:43 -04:00
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:
parent
866b116d1d
commit
666ad46195
19
wsjt.py
19
wsjt.py
@ -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
8
wsjtrc.win
Normal 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
|
Loading…
Reference in New Issue
Block a user