Bug 257324 [Mac] Menu items "About Eclipse SDk" and "Preferences" of Top menu "Eclipse" not disable after show the dialog of "About Eclipse SDK"
Build ID: M20071023-1652 Steps To Reproduce: 1. Launch Eclipse on MAC, and open the dialog of "About Eclipse SDK" by [Eclipse]->[About Eclipse SDK] 2. Click the [Eclipse] top menu, open the [Eclipse] top menu 3. The menu items [About Eclipse SDK] and [Preferences] still enable click, them should be disable. More information:
bundles/org.eclipse.ui.carbon/src/org/eclipse/ui/internal/carbon/CarbonUIEnhancer.java
String replacementName) {
		int l;
		char[] buffer;
		int str;
		int[] itemMenu = new int[1];
		short[] itemIndex = new short[1];
		if (OS.GetIndMenuItemWithCommandID(0, itemConstant, 1,
				itemMenu, itemIndex) == OS.noErr
				&& itemMenu[0] != 0) {
			l = replacementName.length();
			buffer = new char[l];
			replacementName.getChars(0, l, buffer, 0);
			str = OS.CFStringCreateWithCharacters(
					OS.kCFAllocatorDefault, buffer, l);
			OS.SetMenuItemTextWithCFString(itemMenu[0],
					itemIndex[0], str);
			OS.CFRelease(str);
		}
	}
    /**
     * Locate an action with the given id in the current menubar and run it.
     */
    private int runAction(String actionId) {
        IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
        if (window != null) {
        	IMenuManager manager = ((WorkbenchWindow)window).getActionBars().getMenuManager();
        	IAction action = findAction(actionId, manager);
        	if (action != null && action.isEnabled()) {
        		action.run();
        		return OS.noErr;