[Idle-dev] CVS: idle aboutDialog.py,1.7,1.8
Neal Norwitz
nnorwitz@users.sourceforge.net
Sat, 30 Nov 2002 11:12:43 -0800
Update of /cvsroot/idlefork/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv3426
Modified Files:
aboutDialog.py
Log Message:
Remove unused import
Remove unused variables since they were the return value from grid(),
which is always None
Index: aboutDialog.py
===================================================================
RCS file: /cvsroot/idlefork/idle/aboutDialog.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** aboutDialog.py 3 Jan 2002 12:04:01 -0000 1.7
--- aboutDialog.py 30 Nov 2002 19:12:41 -0000 1.8
***************
*** 2,10 ****
about box for idle
"""
from Tkinter import *
- import tkFont
import string, os
import textView
import idlever
class AboutDialog(Toplevel):
"""
--- 2,11 ----
about box for idle
"""
+
from Tkinter import *
import string, os
import textView
import idlever
+
class AboutDialog(Toplevel):
"""
***************
*** 67,71 ****
justify=LEFT,fg=self.fg,bg=self.bg)
labelLicense.grid(row=4,column=0,sticky=W,columnspan=3,padx=10,pady=5)
! framePad = Frame(frameBg,height=5,bg=self.bg).grid(row=5,column=0)
labelEmail = Label(frameBg,text='email: idle-dev@python.org',
justify=LEFT,fg=self.fg,bg=self.bg)
--- 68,72 ----
justify=LEFT,fg=self.fg,bg=self.bg)
labelLicense.grid(row=4,column=0,sticky=W,columnspan=3,padx=10,pady=5)
! Frame(frameBg,height=5,bg=self.bg).grid(row=5,column=0)
labelEmail = Label(frameBg,text='email: idle-dev@python.org',
justify=LEFT,fg=self.fg,bg=self.bg)
***************
*** 74,80 ****
justify=LEFT,fg=self.fg,bg=self.bg)
labelWWW.grid(row=7,column=0,columnspan=2,sticky=W,padx=10,pady=0)
! frameDivider = Frame(frameBg,borderwidth=1,relief=SUNKEN,
! height=2,bg=self.bg).grid(row=8,column=0,sticky=(E,W),columnspan=3,
! padx=5,pady=5)
labelPythonVer = Label(frameBg,text='Python version: '+
sys.version.split()[0],fg=self.fg,bg=self.bg)
--- 75,81 ----
justify=LEFT,fg=self.fg,bg=self.bg)
labelWWW.grid(row=7,column=0,columnspan=2,sticky=W,padx=10,pady=0)
! Frame(frameBg,borderwidth=1,relief=SUNKEN,
! height=2,bg=self.bg).grid(row=8,column=0,sticky=EW,
! columnspan=3, padx=5, pady=5)
labelPythonVer = Label(frameBg,text='Python version: '+
sys.version.split()[0],fg=self.fg,bg=self.bg)