Merged revisions 70176 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70176 | ronald.oussoren | 2009-03-04 22:35:05 +0100 (Wed, 04 Mar 2009) | 2 lines

  Fixes issues 3883 and 5194
........
This commit is contained in:
Ronald Oussoren 2009-03-04 21:35:38 +00:00
parent 5302a3011e
commit de3dfc1635
7 changed files with 75 additions and 19 deletions

View file

@ -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.