From 5c8e20a01d9369fdef4ddcde86faa7dc219ebb38 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 13 Oct 2014 17:30:40 -0700 Subject: [PATCH] :lipstick: --- src/workspace.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/workspace.coffee b/src/workspace.coffee index 6086c6af8..29038826e 100644 --- a/src/workspace.coffee +++ b/src/workspace.coffee @@ -137,15 +137,15 @@ class Workspace extends Model # open. updateWindowTitle: => if projectPath = atom.project?.getPaths()[0] - titleAddition = '- Atom' + appName = 'Atom' if item = @getActivePaneItem() - document.title = "#{item.getTitle?() ? 'untitled'} - #{projectPath} #{titleAddition}" + document.title = "#{item.getTitle?() ? 'untitled'} - #{projectPath} - #{appName}" atom.setRepresentedFilename(item.getPath?() ? projectPath) else - document.title = "#{projectPath} #{titleAddition}" + document.title = "#{projectPath} - #{appName}" atom.setRepresentedFilename(projectPath) else - document.title = "untitled #{titleAddition}" + document.title = "untitled - #{appName}" atom.setRepresentedFilename('') # On OS X, fades the application window's proxy icon when the current file