summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-06-26 01:42:09 (GMT)
committerGitHub <noreply@github.com>2018-06-26 01:42:09 (GMT)
commitc6040638aa1537709add895d24cdbbb9ee310fde (patch)
treeff7ee2a8694b145b3da297906ac2f51fb74885b8
parent8fd8cfa369fe4b6d6ac430cd28ead32717df7bee (diff)
downloadcpython-c6040638aa1537709add895d24cdbbb9ee310fde.zip
cpython-c6040638aa1537709add895d24cdbbb9ee310fde.tar.gz
cpython-c6040638aa1537709add895d24cdbbb9ee310fde.tar.bz2
bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920)
These should have been included in PR 7836. (cherry picked from commit 42397731d7ba8bdf63025d48008d133cb2070229) Co-authored-by: Mark Roseman <mark@markroseman.com>
-rw-r--r--Lib/idlelib/macosx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py
index a2260af..d3ae224 100644
--- a/Lib/idlelib/macosx.py
+++ b/Lib/idlelib/macosx.py
@@ -158,8 +158,8 @@ def overrideRootMenu(root, flist):
if end > 0:
menu.delete(0, end)
- windows.add_windows_to_menu(menu)
- windows.register_callback(postwindowsmenu)
+ window.add_windows_to_menu(menu)
+ window.register_callback(postwindowsmenu)
def about_dialog(event=None):
"Handle Help 'About IDLE' event."