[Python-checkins] r68154 - in python/branches/release26-maint/Lib/idlelib: help.txt macosxSupport.py
ronald.oussoren
python-checkins at python.org
Fri Jan 2 14:00:10 CET 2009
Author: ronald.oussoren
Date: Fri Jan 2 14:00:09 2009
New Revision: 68154
Log:
Backport of r68153
Modified:
python/branches/release26-maint/Lib/idlelib/help.txt
python/branches/release26-maint/Lib/idlelib/macosxSupport.py
Modified: python/branches/release26-maint/Lib/idlelib/help.txt
==============================================================================
--- python/branches/release26-maint/Lib/idlelib/help.txt (original)
+++ python/branches/release26-maint/Lib/idlelib/help.txt Fri Jan 2 14:00:09 2009
@@ -90,7 +90,10 @@
Configure IDLE -- Open a configuration dialog. Fonts, indentation,
keybindings, and color themes may be altered.
Startup Preferences may be set, and Additional Help
- Souces can be specified.
+ Sources can be specified.
+
+ On MacOS X this menu is not present, use
+ menu 'IDLE -> Preferences...' instead.
---
Code Context -- Open a pane at the top of the edit window which
shows the block context of the section of code
Modified: python/branches/release26-maint/Lib/idlelib/macosxSupport.py
==============================================================================
--- python/branches/release26-maint/Lib/idlelib/macosxSupport.py (original)
+++ python/branches/release26-maint/Lib/idlelib/macosxSupport.py Fri Jan 2 14:00:09 2009
@@ -89,7 +89,9 @@
###check if Tk version >= 8.4.14; if so, use hard-coded showprefs binding
tkversion = root.tk.eval('info patchlevel')
- if tkversion >= '8.4.14':
+ # 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):
Bindings.menudefs[0] = ('application', [
('About IDLE', '<<about-idle>>'),
None,
More information about the Python-checkins
mailing list