Add KeymapManager::onDidLoadBundledKeymaps

This commit is contained in:
Ben Ogle
2014-09-10 17:28:47 -07:00
parent 7625e5352d
commit 70e1d14f96
3 changed files with 7 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ class MenuManager
constructor: ({@resourcePath}) ->
@pendingUpdateOperation = null
@template = []
atom.keymaps.on 'bundled-keymaps-loaded', => @loadPlatformItems()
atom.keymaps.onDidLoadBundledKeymaps => @loadPlatformItems()
atom.packages.onDidActivateAll => @sortPackagesMenu()
# Public: Adds the given items to the application menu.