win: Remove dead menu code.
This commit is contained in:
parent
73df08ebbf
commit
365638f1d5
9 changed files with 1 additions and 1216 deletions
|
@ -87,10 +87,6 @@ Menu::insert = (pos, item) ->
|
|||
@items.splice pos, 0, item
|
||||
@commandsMap[item.commandId] = item
|
||||
|
||||
Menu::attachToWindow = (window) ->
|
||||
@_callMenuWillShow() if process.platform is 'win32'
|
||||
@_attachToWindow window
|
||||
|
||||
# Force menuWillShow to be called
|
||||
Menu::_callMenuWillShow = ->
|
||||
@delegate?.menuWillShow()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue