summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2014-03-28 03:51:15 (GMT)
committerNed Deily <nad@acm.org>2014-03-28 03:51:15 (GMT)
commitc318288f69e11c537baeca6799c212e8dd294b85 (patch)
tree61db5fc96166290d16cfb529945086cadd935ac7 /Lib/idlelib/PyShell.py
parent090eb1fd18f7cdd753b6fc9b60162491ee48f04e (diff)
parentb7601676b07c7c8e79af9e7818a783b966612c34 (diff)
downloadcpython-c318288f69e11c537baeca6799c212e8dd294b85.zip
cpython-c318288f69e11c537baeca6799c212e8dd294b85.tar.gz
cpython-c318288f69e11c537baeca6799c212e8dd294b85.tar.bz2
Issue #17654: merge from 3.4
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rwxr-xr-xLib/idlelib/PyShell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index e8890d1..c23b62a 100755
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -844,7 +844,7 @@ class PyShell(OutputWindow):
("help", "_Help"),
]
- if macosxSupport.runningAsOSXApp():
+ if sys.platform == "darwin":
menu_specs[-2] = ("windows", "_Window")
@@ -1560,7 +1560,7 @@ def main():
shell = flist.open_shell()
if not shell:
return # couldn't open shell
- if macosxSupport.runningAsOSXApp() and flist.dict:
+ if macosxSupport.isAquaTk() and flist.dict:
# On OSX: when the user has double-clicked on a file that causes
# IDLE to be launched the shell window will open just in front of
# the file she wants to see. Lower the interpreter window when