From bd8ac3bb32403d4f44d9a9f186bd99d9e99451d5 Mon Sep 17 00:00:00 2001 From: Desmond Brand Date: Mon, 4 Aug 2014 11:27:47 -0700 Subject: [PATCH] path -> proxyIconPath Test plan: Crossed fingers --- src/workspace-view.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/workspace-view.coffee b/src/workspace-view.coffee index e1b8a81ae..939630fdc 100644 --- a/src/workspace-view.coffee +++ b/src/workspace-view.coffee @@ -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. #