From 4fc904708bc3175669d158d647b8a2fd14036373 Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Thu, 21 Nov 2002 03:02:17 +0000 Subject: Apply Nicolas Riley's Patch. [ 634250 ] SearchDialogBase.py fix for Tk 8.4.1 SearchDialogBase refers to the grid 'col' option considered ambiguous with Python 2.2.2 and Tk 8.4.1. The correct name is 'column'. --- Lib/idlelib/SearchDialogBase.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Lib/idlelib/SearchDialogBase.py') diff --git a/Lib/idlelib/SearchDialogBase.py b/Lib/idlelib/SearchDialogBase.py index c2a59c5d21c..f63e7ae37c7 100644 --- a/Lib/idlelib/SearchDialogBase.py +++ b/Lib/idlelib/SearchDialogBase.py @@ -51,18 +51,18 @@ class SearchDialogBase: def make_entry(self, label, var): l = Label(self.top, text=label) - l.grid(row=self.row, col=0, sticky="nw") + l.grid(row=self.row, column=0, sticky="nw") e = Entry(self.top, textvariable=var, exportselection=0) - e.grid(row=self.row, col=1, sticky="nwe") + e.grid(row=self.row, column=1, sticky="nwe") self.row = self.row + 1 return e def make_frame(self,labeltext=None): if labeltext: l = Label(self.top, text=labeltext) - l.grid(row=self.row, col=0, sticky="nw") + l.grid(row=self.row, column=0, sticky="nw") f = Frame(self.top) - f.grid(row=self.row, col=1, columnspan=1, sticky="nwe") + f.grid(row=self.row, column=1, columnspan=1, sticky="nwe") self.row = self.row + 1 return f @@ -134,7 +134,7 @@ class SearchDialogBase: # # place button frame on the right f = self.buttonframe = Frame(self.top) - f.grid(row=0,col=2,padx=2,pady=2,ipadx=2,ipady=2) + f.grid(row=0,column=2,padx=2,pady=2,ipadx=2,ipady=2) b = self.make_button("close", self.close) b.lower() -- cgit v1.2.3