]> granicus.if.org Git - python/commitdiff
Issue #17721: Remove non-functional configuration dialog help button until we
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 27 Jan 2014 03:24:26 +0000 (22:24 -0500)
committerTerry Jan Reedy <tjreedy@udel.edu>
Mon, 27 Jan 2014 03:24:26 +0000 (22:24 -0500)
make it actually gives some help when clicked. Patch by Guilherme Simões.

Lib/idlelib/configDialog.py
Misc/NEWS

index 1f4a3a5768917d8d7aadb26608aefd083a530ff6..efe5c4326cb0429d485a899e648720c5eda82c5a 100644 (file)
@@ -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)
index 10cb08e54b28cd9fd498c895875a5bf0e9db2a70..e8d1a7ab414153386bc82a7ee2dd8e288342f901 100644 (file)
--- 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