adobe/brackets — pull request #2709 by gruehle (2013-01-30 00:22:54+00:00)
Title: Clean up native menu item creation

Fixes #2615

Re-organize and simplify the creation of native menu items. This also has the side effect of setting the initial enabled and checked states for menu items.