From 66c444f167c685c808db105f4dc4cbff623f2b7a Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 20 Mar 2012 18:39:46 -0600 Subject: [PATCH] Remove RootView.addPane method --- src/atom/root-view.coffee | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/atom/root-view.coffee b/src/atom/root-view.coffee index 5ed12bb50..46f0d8a68 100644 --- a/src/atom/root-view.coffee +++ b/src/atom/root-view.coffee @@ -38,9 +38,6 @@ class RootView extends View open: (path) -> @lastActiveEditor().setBuffer(@project.open(path)) - addPane: (view) -> - @append(view) - editorFocused: (editor) -> if @panes.containsElement(editor) _.remove(@editors, editor) @@ -63,7 +60,6 @@ class RootView extends View .appendTo(@panes) .focus() - adjustSplitPanes: (element = @panes.children(':first'))-> if element.hasClass('row') totalUnits = @horizontalGridUnits(element) @@ -126,4 +122,4 @@ class RootView extends View @fileFinder = new FileFinder urls: relativePaths selected: (relativePath) => @open(relativePath) - @addPane @fileFinder + @append @fileFinder