Bug 73729 [Workbench] [Mac] Dual preferences menu items
On Mac OS X, the preferences menu item appears in the Eclipse menu. This is correct. However, the same menu item that does the same thing also appears in the Window menu, which is correct on other platforms but not the Mac. It should be removed from the Window menu.
bundles/org.eclipse.ui.carbon/src/org/eclipse/ui/carbon/CarbonUIEnhancer.java
/**
	 * Hooks a listener that tweaks newly opened workbench window shells with
	 * the proper OS flags.
	 * 
	 * @since 3.2
	 */
    protected void hookWorkbenchListener() {
		PlatformUI.getWorkbench().addWindowListener(new IWindowListener() {
			public void windowActivated(IWorkbenchWindow window) {
				
			}
			public void windowDeactivated(IWorkbenchWindow window) {
				
			}
			public void windowClosed(IWorkbenchWindow window) {
				
			}
			public void windowOpened(IWorkbenchWindow window) {
				modifyWindowShell(window);
			}});
	}
    /**
	 * Modify the given workbench window shell bits to show the toolbar toggle
	 * button.
	 * 
	 * @param window
	 *            the window to modify
	 * @since 3.2
	 */
	protected void modifyWindowShell(IWorkbenchWindow window) {