Fix compatibility with activate-with-no-open-windows event
This commit is contained in:
parent
6c1878d15b
commit
b0d4aa211d
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ deprecate.event app, 'finish-launching', 'ready', ->
|
||||||
setImmediate => # give default app a chance to setup default menu.
|
setImmediate => # give default app a chance to setup default menu.
|
||||||
@emit 'finish-launching'
|
@emit 'finish-launching'
|
||||||
deprecate.event app, 'activate-with-no-open-windows', 'activate', (event, hasVisibleWindows) ->
|
deprecate.event app, 'activate-with-no-open-windows', 'activate', (event, hasVisibleWindows) ->
|
||||||
@emit 'activate-with-no-open-windows' if not hasVisibleWindows
|
@emit 'activate-with-no-open-windows', event if not hasVisibleWindows
|
||||||
deprecate.event app, 'select-certificate', 'select-client-certificate'
|
deprecate.event app, 'select-certificate', 'select-client-certificate'
|
||||||
|
|
||||||
# Wrappers for native classes.
|
# Wrappers for native classes.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue