From 954fac116049eccc87eb695d99142555f8e96da0 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 1 Sep 2015 11:59:57 -0700 Subject: [PATCH] fix(windows): Fix old references to windowManager --- src/browser/application.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/application.coffee b/src/browser/application.coffee index 7a2506af5..13eed4b8d 100644 --- a/src/browser/application.coffee +++ b/src/browser/application.coffee @@ -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) =>