summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/macosxSupport.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-09-20 19:06:58 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-09-20 19:06:58 (GMT)
commit139a646fda94ddb97afedfaaecf3227295f74428 (patch)
tree91094de713f8856ecbf3e5703e943cf95f274f8c /Lib/idlelib/macosxSupport.py
parent1d2f713b71cda235a6e52ceb5734626bad297d20 (diff)
downloadcpython-139a646fda94ddb97afedfaaecf3227295f74428.zip
cpython-139a646fda94ddb97afedfaaecf3227295f74428.tar.gz
cpython-139a646fda94ddb97afedfaaecf3227295f74428.tar.bz2
Backport of r72946. This closes Issue 6100 and 6951 for
the 2.6 branch.
Diffstat (limited to 'Lib/idlelib/macosxSupport.py')
-rw-r--r--Lib/idlelib/macosxSupport.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/macosxSupport.py b/Lib/idlelib/macosxSupport.py
index 98b35b6..bf472c2 100644
--- a/Lib/idlelib/macosxSupport.py
+++ b/Lib/idlelib/macosxSupport.py
@@ -82,6 +82,7 @@ def overrideRootMenu(root, flist):
def config_dialog(event=None):
import configDialog
+ root.instance_dict = flist.inversedict
configDialog.ConfigDialog(root, 'Settings')
@@ -95,7 +96,7 @@ def overrideRootMenu(root, flist):
tkversion = root.tk.eval('info patchlevel')
# Note: we cannot check if the string tkversion >= '8.4.14', because
# the string '8.4.7' is greater than the string '8.4.14'.
- if map(int, tkversion.split('.')) >= (8, 4, 14):
+ if tuple(map(int, tkversion.split('.'))) >= (8, 4, 14):
Bindings.menudefs[0] = ('application', [
('About IDLE', '<<about-idle>>'),
None,