From d892917f05d4826b4bfaa6011702176dbd9a0fa0 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 6 Aug 2012 04:28:31 +0200 Subject: core.actions: some cleaning --- ranger/core/actions.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 1803d5b9..cab164be 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -44,7 +44,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): old_path = self.thisdir.path self.restorable_tabs = {} self.previews = {} - self.garbage_collect(-1, self.tabs) + self.garbage_collect(-1) self.enter_dir(old_path) self.change_mode('normal') @@ -833,10 +833,6 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): # -------------------------- # -- Tabs # -------------------------- - # This implementation of tabs is very simple and keeps track of - # directory paths only. - # TODO: Need to rewrite this to fit the new tab model - def tab_open(self, name, path=None): tab_has_changed = (name != self.current_tab) self.current_tab = name -- cgit 1.4.1-2-gfad0