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

Skip to content

Commit 908669b

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.
2 parents 0c5b5d4 + 91d4278 commit 908669b

2 files changed

Lines changed: 8 additions & 4 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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ Library
143143
IDLE
144144
----
145145

146+
- Issue #17721: Remove non-functional configuration dialog help button until we
147+
make it actually gives some help when clicked. Patch by Guilherme Simões.
148+
146149
- Issue #17390: Add Python version to Idle editor window title bar.
147150
Original patches by Edmond Burnett and Kent Johnson.
148151

0 commit comments

Comments
 (0)