mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-09 09:38:07 +08:00
fix(windows): Fix old references to windowManager
This commit is contained in:
parent
ae5429365e
commit
954fac1160
1 changed files with 3 additions and 3 deletions
|
@ -250,7 +250,7 @@ class Application
|
|||
|
||||
@on 'application:send-feedback', => @windowManager.sendToMainWindow('send-feedback')
|
||||
@on 'application:open-preferences', => @windowManager.sendToMainWindow('open-preferences')
|
||||
@on 'application:show-main-window', => @windowManager.openWindowsForTokenState()
|
||||
@on 'application:show-main-window', => @openWindowsForTokenState()
|
||||
@on 'application:show-work-window', => @windowManager.showWorkWindow()
|
||||
@on 'application:check-for-update', => @autoUpdateManager.check()
|
||||
@on 'application:install-update', =>
|
||||
|
@ -261,7 +261,7 @@ class Application
|
|||
@devMode = true
|
||||
@windowManager.closeAllWindows()
|
||||
@windowManager.devMode = true
|
||||
@windowManager.openWindowsForTokenState()
|
||||
@openWindowsForTokenState()
|
||||
|
||||
@on 'application:toggle-theme', =>
|
||||
themes = @config.get('core.themes') ? []
|
||||
|
@ -332,7 +332,7 @@ class Application
|
|||
event.sender.send('inline-styles-result', {body, clientId})
|
||||
|
||||
app.on 'activate-with-no-open-windows', (event) =>
|
||||
@windowManager.openWindowsForTokenState()
|
||||
@openWindowsForTokenState()
|
||||
event.preventDefault()
|
||||
|
||||
ipc.on 'update-application-menu', (event, template, keystrokesByCommand) =>
|
||||
|
|
Loading…
Reference in a new issue