summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-10-23 00:15:18 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-10-23 00:15:18 (GMT)
commita9421fb3a3013a8aacc18959c28c1b0002f34025 (patch)
tree21947d5899838ca1deab5d84fcfb3a40abd226b8 /Lib/idlelib/EditorWindow.py
parentc803bd84b529f3a300f9ba808b60dd50e4e365bf (diff)
downloadcpython-a9421fb3a3013a8aacc18959c28c1b0002f34025.zip
cpython-a9421fb3a3013a8aacc18959c28c1b0002f34025.tar.gz
cpython-a9421fb3a3013a8aacc18959c28c1b0002f34025.tar.bz2
Issue #3068: Add Idle extension configuration dialog to Options menu.
Original patch by Tal Einat.
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r--Lib/idlelib/EditorWindow.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index bdf4a1a..7d2ea8f 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -189,6 +189,8 @@ class EditorWindow(object):
text.bind("<<python-docs>>", self.python_docs)
text.bind("<<about-idle>>", self.about_dialog)
text.bind("<<open-config-dialog>>", self.config_dialog)
+ text.bind("<<open-config-extensions-dialog>>",
+ self.config_extensions_dialog)
text.bind("<<open-module>>", self.open_module)
text.bind("<<do-nothing>>", lambda event: "break")
text.bind("<<select-all>>", self.select_all)
@@ -543,6 +545,8 @@ class EditorWindow(object):
def config_dialog(self, event=None):
configDialog.ConfigDialog(self.top,'Settings')
+ def config_extensions_dialog(self, event=None):
+ configDialog.ConfigExtensionsDialog(self.top)
def help_dialog(self, event=None):
if self.root: