Add Project::onDidChangePaths event

This commit is contained in:
Nathan Sobo
2014-10-01 10:46:30 -06:00
parent 33c1ce863e
commit 99b8e159bd
3 changed files with 19 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ class WorkspaceView extends View
@subscribe $(window), 'focus', (e) =>
@handleFocus(e) if document.activeElement is document.body
atom.project.on 'path-changed', => @updateTitle()
atom.project.onDidChangePaths => @updateTitle()
@on 'pane-container:active-pane-item-changed', => @updateTitle()
@on 'pane:active-item-title-changed', '.active.pane', => @updateTitle()
@on 'pane:active-item-modified-status-changed', '.active.pane', => @updateDocumentEdited()