diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2002-11-21 03:02:17 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2002-11-21 03:02:17 (GMT) |
commit | 4fc904708bc3175669d158d647b8a2fd14036373 (patch) | |
tree | d9b670f82a9779998dc8ed3164613b4f532bb5d2 /Lib/idlelib/SearchDialogBase.py | |
parent | 201626e00f87a514b4891a65f3014bcb49c5dc88 (diff) | |
download | cpython-4fc904708bc3175669d158d647b8a2fd14036373.zip cpython-4fc904708bc3175669d158d647b8a2fd14036373.tar.gz cpython-4fc904708bc3175669d158d647b8a2fd14036373.tar.bz2 |
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'.
Diffstat (limited to 'Lib/idlelib/SearchDialogBase.py')
-rw-r--r-- | Lib/idlelib/SearchDialogBase.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/idlelib/SearchDialogBase.py b/Lib/idlelib/SearchDialogBase.py index c2a59c5..f63e7ae 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() |