Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 91d4278

Browse files
committed
Issue #17721: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.
1 parent 1b759bc commit 91d4278

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

Lib/idlelib/configDialog.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,10 @@ def CreateWidgets(self):
8282
else:
8383
extraKwds=dict(padx=6, pady=3)
8484

85-
self.buttonHelp = Button(frameActionButtons,text='Help',
86-
command=self.Help,takefocus=FALSE,
87-
**extraKwds)
85+
# Comment out button creation and packing until implement self.Help
86+
## self.buttonHelp = Button(frameActionButtons,text='Help',
87+
## command=self.Help,takefocus=FALSE,
88+
## **extraKwds)
8889
self.buttonOk = Button(frameActionButtons,text='Ok',
8990
command=self.Ok,takefocus=FALSE,
9091
**extraKwds)
@@ -98,7 +99,7 @@ def CreateWidgets(self):
9899
self.CreatePageHighlight()
99100
self.CreatePageKeys()
100101
self.CreatePageGeneral()
101-
self.buttonHelp.pack(side=RIGHT,padx=5)
102+
## self.buttonHelp.pack(side=RIGHT,padx=5)
102103
self.buttonOk.pack(side=LEFT,padx=5)
103104
self.buttonApply.pack(side=LEFT,padx=5)
104105
self.buttonCancel.pack(side=LEFT,padx=5)

Misc/NEWS

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,10 @@ Library
276276
IDLE
277277
----
278278

279-
--Issue #17390: Add Python version to Idle editor window title bar.
279+
- Issue #17721: Remove non-functional configuration dialog help button until we
280+
make it actually gives some help when clicked. Patch by Guilherme Simões.
281+
282+
- Issue #17390: Add Python version to Idle editor window title bar.
280283
Original patches by Edmond Burnett and Kent Johnson.
281284

282285
- Issue #18960: IDLE now ignores the source encoding declaration on the second

0 commit comments

Comments
 (0)