Add app.dock.setMenu API

This commit is contained in:
Cheng Zhao 2014-11-16 23:04:31 +08:00
parent ba4f502b1e
commit 0e94977d42
8 changed files with 52 additions and 13 deletions

View file

@ -26,6 +26,7 @@ if process.platform is 'darwin'
getBadge: bindings.dockGetBadgeText
hide: bindings.dockHide
show: bindings.dockShow
setMenu: bindings.dockSetMenu
# Be compatible with old API.
app.once 'ready', -> app.emit 'finish-launching'