[Python-checkins] cpython (2.7): Issue #17721: Remove non-functional configuration dialog help button until we

terry.reedy python-checkins at python.org
Mon Jan 27 04:28:01 CET 2014


http://hg.python.org/cpython/rev/3d343dfe6269
changeset: 88753:3d343dfe6269
branch: 2.7
parent: 88750:0fb73e66fb8b
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Sun Jan 26 22:24:17 2014 -0500
summary:
 Issue #17721: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.
files:
 Lib/idlelib/configDialog.py | 9 +++++----
 Misc/NEWS | 3 +++
 2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py
--- a/Lib/idlelib/configDialog.py
+++ b/Lib/idlelib/configDialog.py
@@ -78,9 +78,10 @@
 else:
 paddingArgs={'padx':6, 'pady':3}
 
- self.buttonHelp = Button(frameActionButtons,text='Help',
- command=self.Help,takefocus=FALSE,
- **paddingArgs)
+# Comment out button creation and packing until implement self.Help
+## self.buttonHelp = Button(frameActionButtons,text='Help',
+## command=self.Help,takefocus=FALSE,
+## **paddingArgs)
 self.buttonOk = Button(frameActionButtons,text='Ok',
 command=self.Ok,takefocus=FALSE,
 **paddingArgs)
@@ -94,7 +95,7 @@
 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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -189,6 +189,9 @@
 IDLE
 ----
 
+- 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.
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /