path -> proxyIconPath

Test plan:
Crossed fingers
This commit is contained in:
Desmond Brand
2014-08-04 11:27:47 -07:00
parent e1f4b7415a
commit bd8ac3bb32

View File

@@ -216,17 +216,17 @@ class WorkspaceView extends View
if projectPath = atom.project.getPath()
if item = @getModel().getActivePaneItem()
title = "#{item.getTitle?() ? 'untitled'} - #{projectPath}"
path = item.getPath?() ? projectPath
@setTitle(title, path)
proxyIconPath = item.getPath?() ? projectPath
@setTitle(title, proxyIconPath)
else
@setTitle(projectPath, projectPath)
else
@setTitle('untitled')
# Sets the application's title (and the proxy icon on OS X)
setTitle: (title, path) ->
setTitle: (title, proxyIconPath) ->
document.title = title
atom.getCurrentWindow().setRepresentedFilename(path ? '')
atom.getCurrentWindow().setRepresentedFilename(proxyIconPath ? '')
# Get all editor views.
#