Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/idlelib/Bindings.py

    r2 r391  
    1010"""
    1111import sys
    12 from configHandler import idleConf
    13 import macosxSupport
     12from idlelib.configHandler import idleConf
     13from idlelib import macosxSupport
    1414
    1515menudefs = [
    1616 # underscore prefixes character to underscore
    1717 ('file', [
    18    ('_New Window', '<<open-new-window>>'),
     18   ('_New File', '<<open-new-window>>'),
    1919   ('_Open...', '<<open-window-from-file>>'),
    2020   ('Open _Module...', '<<open-module>>'),
     
    9999    del menudefs[-1][1][0:2]
    100100
    101     menudefs.insert(0,
    102             ('application', [
    103                 ('About IDLE', '<<about-idle>>'),
    104                 None,
    105                 ('_Preferences....', '<<open-config-dialog>>'),
    106             ]))
    107 
     101    # Remove the 'Configure' entry from the options menu, it is in the
     102    # application menu as 'Preferences'
     103    del menudefs[-2][1][0:2]
    108104
    109105default_keydefs = idleConf.GetCurrentKeySet()
Note: See TracChangeset for help on using the changeset viewer.