This commit is contained in:
Nathan Sobo
2016-09-20 15:15:55 -06:00
parent fe9a7d1db3
commit 7872875c57

View File

@@ -83,7 +83,7 @@ class AtomApplication
initialize: (options) ->
global.atomApplication = this
@config.onDidChange 'core.useCustomTitleBar', @promptForRelaunch
@config.onDidChange 'core.useCustomTitleBar', @promptForRestart
@autoUpdateManager = new AutoUpdateManager(@version, options.test, @resourcePath, @config)
@applicationMenu = new ApplicationMenu(@version, @autoUpdateManager)
@@ -734,7 +734,7 @@ class AtomApplication
dialog.showOpenDialog(parentWindow, openOptions, callback)
promptForRelaunch: ->
promptForRestart: ->
chosen = dialog.showMessageBox BrowserWindow.getFocusedWindow(),
type: 'warning'
title: 'Restart required'