diff --git a/wsjt.py b/wsjt.py index 51ab328d0..7ecd85cf6 100644 --- a/wsjt.py +++ b/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() diff --git a/wsjtrc.win b/wsjtrc.win new file mode 100644 index 000000000..878089ec8 --- /dev/null +++ b/wsjtrc.win @@ -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