mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-03 14:42:25 -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
5d7a297dca
commit
d5ac2ce57c
19
wsjt.py
19
wsjt.py
@ -19,15 +19,22 @@ print "WSJT Version " + Version + ", by K1JT"
|
|||||||
print "Revision date: " + \
|
print "Revision date: " + \
|
||||||
"$Date$"[7:-1]
|
"$Date$"[7:-1]
|
||||||
print "Run date: " + time.asctime(time.gmtime()) + " UTC"
|
print "Run date: " + time.asctime(time.gmtime()) + " UTC"
|
||||||
try:
|
|
||||||
root.option_readfile('wsjtrc')
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
root_geom=""
|
|
||||||
|
|
||||||
#See if we are running in Windows
|
#See if we are running in Windows
|
||||||
g.Win32=0
|
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
|
#------------------------------------------------------ Global variables
|
||||||
appdir=os.getcwd()
|
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…
x
Reference in New Issue
Block a user