win: Newly created window should also be aware of application menu.
This commit is contained in:
parent
caaab22841
commit
a182de20a4
5 changed files with 17 additions and 3 deletions
|
@ -15,6 +15,9 @@ app.getBrowserWindows = ->
|
|||
app.setApplicationMenu = (menu) ->
|
||||
require('menu').setApplicationMenu menu
|
||||
|
||||
app.getApplicationMenu = ->
|
||||
require('menu').getApplicationMenu()
|
||||
|
||||
app.commandLine =
|
||||
appendSwitch: bindings.appendSwitch,
|
||||
appendArgument: bindings.appendArgument
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue