From 4eb1318de7c42bc7c9a52129ef6d3bfc683aba49 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 7 Sep 2006 16:50:47 +0000 Subject: [PATCH] Oops, astrorc was not a good idea. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@285 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- astro.py | 14 +++++++------- astrorc | 2 -- wsjt.py | 1 - 3 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644 astrorc diff --git a/astro.py b/astro.py index 066f718f0..6fc8ab2d4 100644 --- a/astro.py +++ b/astro.py @@ -12,12 +12,6 @@ root.withdraw() root.protocol('WM_DELETE_WINDOW',done) if g.Win32: root.iconbitmap("wsjt.ico") root.title("Astronomical data") - -try: - root.option_readfile('astrorc') -except: - pass - frame=Frame(root) frame.pack() @@ -50,7 +44,13 @@ def update(): g.astro_geom=root.geometry() frame.after(1000,update) -lab1=Label(frame,justify=LEFT,bg="#66FFFF",relief=RIDGE,bd=4,anchor=N) +if g.Win32: + g2font='"Lucida Console" 16' +else: + g2font='courier 16 bold' + +lab1=Label(frame,font=g2font,justify=LEFT,bg="#66FFFF", + relief=RIDGE,bd=4,anchor=N) lab1.pack(ipadx=4) frame.after(1000,update) diff --git a/astrorc b/astrorc deleted file mode 100644 index e9ab159a1..000000000 --- a/astrorc +++ /dev/null @@ -1,2 +0,0 @@ -*font: "lucida console" 16 -#*font: "courier" 16 bold diff --git a/wsjt.py b/wsjt.py index d13e6b2ef..0aa768c7e 100644 --- a/wsjt.py +++ b/wsjt.py @@ -1300,7 +1300,6 @@ def update(): if mode.get()[:4]=='JT65' or mode.get()[:2]=='CW' : graph2.delete(ALL) if g.Win32: - g2font='"Lucida Console" 16' else: g2font='courier 16 bold'