summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-01-27 03:24:26 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-01-27 03:24:26 (GMT)
commit91d4278fba54610443cf7c1422f09e51d7aef567 (patch)
treee9107d4c8855b9f12c2cdd23ca55c86e136781b4
parent1b759bc49ed3958c64c7f2796df68b1c607acd69 (diff)
downloadcpython-91d4278fba54610443cf7c1422f09e51d7aef567.zip
cpython-91d4278fba54610443cf7c1422f09e51d7aef567.tar.gz
cpython-91d4278fba54610443cf7c1422f09e51d7aef567.tar.bz2
Issue #17721: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.
-rw-r--r--Lib/idlelib/configDialog.py9
-rw-r--r--Misc/NEWS5
2 files changed, 9 insertions, 5 deletions
diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py
index 1f4a3a5..efe5c43 100644
--- a/Lib/idlelib/configDialog.py
+++ b/Lib/idlelib/configDialog.py
@@ -82,9 +82,10 @@ class ConfigDialog(Toplevel):
else:
extraKwds=dict(padx=6, pady=3)
- self.buttonHelp = Button(frameActionButtons,text='Help',
- command=self.Help,takefocus=FALSE,
- **extraKwds)
+# Comment out button creation and packing until implement self.Help
+## self.buttonHelp = Button(frameActionButtons,text='Help',
+## command=self.Help,takefocus=FALSE,
+## **extraKwds)
self.buttonOk = Button(frameActionButtons,text='Ok',
command=self.Ok,takefocus=FALSE,
**extraKwds)
@@ -98,7 +99,7 @@ class ConfigDialog(Toplevel):
self.CreatePageHighlight()
self.CreatePageKeys()
self.CreatePageGeneral()
- self.buttonHelp.pack(side=RIGHT,padx=5)
+## self.buttonHelp.pack(side=RIGHT,padx=5)
self.buttonOk.pack(side=LEFT,padx=5)
self.buttonApply.pack(side=LEFT,padx=5)
self.buttonCancel.pack(side=LEFT,padx=5)
diff --git a/Misc/NEWS b/Misc/NEWS
index 10cb08e..e8d1a7a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -276,7 +276,10 @@ Library
IDLE
----
---Issue #17390: Add Python version to Idle editor window title bar.
+- Issue #17721: Remove non-functional configuration dialog help button until we
+ make it actually gives some help when clicked. Patch by Guilherme Simões.
+
+- Issue #17390: Add Python version to Idle editor window title bar.
Original patches by Edmond Burnett and Kent Johnson.
- Issue #18960: IDLE now ignores the source encoding declaration on the second