Fix disabling of menu items in Linux.
Fix disabling of menu items in Linux.

[#232 state:resolved]

jvkops/titanium_desktop,appcelerator/titanium_desktop,jvkops/titanium_desktop,wyrover/titanium_desktop,jvkops/titanium_desktop,appcelerator/titanium_desktop,wyrover/titanium_desktop,wyrover/titanium_desktop,appcelerator/titanium_desktop,jvkops/titanium_desktop,wyrover/titanium_desktop,wyrover/titanium_desktop,jvkops/titanium_desktop,jvkops/titanium_desktop,wyrover/titanium_desktop,appcelerator/titanium_desktop,appcelerator/titanium_desktop