]> 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:17 +0000 (22:24 -0500)
committerTerry Jan Reedy <tjreedy@udel.edu>
Mon, 27 Jan 2014 03:24:17 +0000 (22:24 -0500)
make it actually gives some help when clicked. Patch by Guilherme Simões.

Lib/idlelib/configDialog.py
Misc/NEWS

index b707fc3ddb404705b9d2fb743f3260832de18cde..267ed93c53fd416d306d854a81476f9725c27338 100644 (file)
@@ -78,9 +78,10 @@ class ConfigDialog(Toplevel):
         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 @@ 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 9ec391a7f6a2b75b450ad8d34cc4a914582d9ba5..7bfa991b72a23024856341f900c82eb923642c99 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -189,6 +189,9 @@ Tools/Demos
 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.