Rename 'active-editor-path-change' to 'root-view:active-path-changed'

This commit is contained in:
Kevin Sawicki & Nathan Sobo
2013-01-04 11:12:45 -07:00
parent 0589012e86
commit 2ffc0cf13d
3 changed files with 8 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ class TreeView extends ScrollView
@selectActiveFile()
@rootView.command 'tree-view:toggle', => @toggle()
@rootView.command 'tree-view:reveal-active-file', => @revealActiveFile()
@rootView.on 'active-editor-path-change', => @selectActiveFile()
@rootView.on 'root-view:active-path-changed', => @selectActiveFile()
@rootView.project.on 'path-change', => @updateRoot()
@observeConfig 'core.hideGitIgnoredFiles', => @updateRoot()