mirror of
https://github.com/python/cpython.git
synced 2025-07-30 14:44:10 +00:00
Fixes issues 3883 and 5194
This commit is contained in:
parent
cea1ddb4aa
commit
a97063a108
7 changed files with 75 additions and 19 deletions
|
@ -10,6 +10,7 @@ windows.
|
|||
"""
|
||||
import sys
|
||||
from configHandler import idleConf
|
||||
import macosxSupport
|
||||
|
||||
menudefs = [
|
||||
# underscore prefixes character to underscore
|
||||
|
@ -80,8 +81,7 @@ menudefs = [
|
|||
]),
|
||||
]
|
||||
|
||||
import sys
|
||||
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