mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix for issue5194, based on a patch by Ned Deily.
This commit is contained in:
parent
de09acf298
commit
827822ef3f
8 changed files with 65 additions and 15 deletions
|
@ -10,6 +10,7 @@ windows.
|
|||
"""
|
||||
import sys
|
||||
from idlelib.configHandler import idleConf
|
||||
from idlelib import macosxSupport
|
||||
|
||||
menudefs = [
|
||||
# underscore prefixes character to underscore
|
||||
|
@ -80,7 +81,7 @@ menudefs = [
|
|||
]),
|
||||
]
|
||||
|
||||
if sys.platform == 'darwin' and '.app' in sys.executable:
|
||||
if macosxSupport.runningAsOSXApp():
|
||||
# Running as a proper MacOS application bundle. This block restructures
|
||||
# the menus a little to make them conform better to the HIG.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue