summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-11-06 19:00:30 (GMT)
committerGuido van Rossum <guido@python.org>2002-11-06 19:00:30 (GMT)
commiteb58f5d6cdc3d693eedc40229a5f161babf6920a (patch)
tree41a27b4b5a5fcb312810b549240f6626c58c9f7c
parentfbceb01ef0cc7cf5386f0e2c2d75b1b09dd291f9 (diff)
downloadcpython-eb58f5d6cdc3d693eedc40229a5f161babf6920a.zip
cpython-eb58f5d6cdc3d693eedc40229a5f161babf6920a.tar.gz
cpython-eb58f5d6cdc3d693eedc40229a5f161babf6920a.tar.bz2
Use column= rather than col=; with Tk 8.4 col= no longer works.
[SF patch 634250 -- that was an IDLEFORK patch.]
-rw-r--r--Tools/idle/SearchDialogBase.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/idle/SearchDialogBase.py b/Tools/idle/SearchDialogBase.py
index d5f13db..9a88e25 100644
--- a/Tools/idle/SearchDialogBase.py
+++ b/Tools/idle/SearchDialogBase.py
@@ -48,15 +48,15 @@ class SearchDialogBase:
def make_entry(self, label, var):
l = Label(self.top, text=label)
- l.grid(row=self.row, col=0, sticky="w")
+ l.grid(row=self.row, column=0, sticky="w")
e = Entry(self.top, textvariable=var, exportselection=0)
- e.grid(row=self.row, col=1, sticky="we")
+ e.grid(row=self.row, column=1, sticky="we")
self.row = self.row + 1
return e
def make_frame(self):
f = Frame(self.top)
- f.grid(row=self.row, col=0, columnspan=2, sticky="we")
+ f.grid(row=self.row, column=0, columnspan=2, sticky="we")
self.row = self.row + 1
return f