This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Fix for duplicate "preferences" menu-OS X
Type: Stage:
Components: IDLE Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: ronaldoussoren Nosy List: ronaldoussoren, wordtech
Priority: normal Keywords: patch

Created on 2007-04-02 22:15 by wordtech, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
macosxSupport.diff wordtech, 2007-04-02 22:15 checks installed version of tk and adjusts preferences menu accordingly on os x
Messages (2)
msg52376 - (view) Author: Kevin Walzer (wordtech) * Date: 2007-04-02 22:15
Version 8.4.14 of  Tcl/Tk Aqua (for OS X) hard-codes a "Preferences" item in the Apple menu. As a result, IDLE now has two "Preferences" items--the active one that is coded by default, and an inactive item that is hard-coded by Tk. 

The attached patch to macosxSupport.py checks the installed version of Tk, and if it is 8.4.14, substitutes the hard-coded Tk "preferences" menu and binds IDLE's "preferences" dialog to this menu item. If Tk is version 8.4.13 or less, leave the menu alone.

This patch addresses Python bug #1691411  opened at 2007-03-30.
msg52377 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2007-07-09 06:05
This patch looks fine.

Commited as 56204 (trunk) and 56205 (2.5.x)
History
Date User Action Args
2022-04-11 14:56:23adminsetgithub: 44798
2007-04-02 22:15:48wordtechcreate