Bug 314623 [Mac] Toggle toolbar button is missing in the first workbench window
Only for the first workbench window, the button is missing. From the second window onwards it comes correctly. Looks like a regression in 3.6, in earlier versions it works fine.
bundles/org.eclipse.ui.cocoa/src/org/eclipse/ui/internal/cocoa/CocoaUIEnhancer.java
} catch (MissingResourceException e) {
			}
		}
		
		try {
			if (sel_toolbarButtonClicked_ == 0) {
				sel_toolbarButtonClicked_ = registerName("toolbarButtonClicked:"); 
				sel_preferencesMenuItemSelected_ = registerName("preferencesMenuItemSelected:"); 
				sel_aboutMenuItemSelected_ = registerName("aboutMenuItemSelected:"); 
				init();
			}
		} catch (Exception e) {
			
			
			log(e);
		}
    }
    
    private long registerName(String name) throws IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchMethodException {
    	Class clazz = OS.class;
    	Object object = invokeMethod(clazz, "sel_registerName", new Object[] {name});
    	return convertToLong(object);
    }
    
    /* (non-Javadoc)
     * @see org.eclipse.ui.IStartup#earlyStartup()
     */
    public void earlyStartup() {
        final Display display = Display.getDefault();
        display.syncExec(new Runnable() {