mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Issue #3068: Add Idle extension configuration dialog to Options menu.
Original patch by Tal Einat.
This commit is contained in:
parent
c803bd84b5
commit
a9421fb3a3
6 changed files with 279 additions and 21 deletions
|
@ -140,11 +140,9 @@ def overrideRootMenu(root, flist):
|
|||
# Remove the 'About' entry from the help menu, it is in the application
|
||||
# menu
|
||||
del Bindings.menudefs[-1][1][0:2]
|
||||
|
||||
# Remove the 'Configure' entry from the options menu, it is in the
|
||||
# Remove the 'Configure Idle' entry from the options menu, it is in the
|
||||
# application menu as 'Preferences'
|
||||
del Bindings.menudefs[-2][1][0:2]
|
||||
|
||||
del Bindings.menudefs[-2][1][0]
|
||||
menubar = Menu(root)
|
||||
root.configure(menu=menubar)
|
||||
menudict = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue