diff options
author | hut <hut@lavabit.com> | 2012-08-06 04:28:31 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-08-06 04:28:31 +0200 |
commit | d892917f05d4826b4bfaa6011702176dbd9a0fa0 (patch) | |
tree | 29b7b39718dfb87a603efc03b70aabc12097420d /ranger | |
parent | 2702947cd7217e3a7eaa7a4b83edf269a4270a1b (diff) | |
download | ranger-d892917f05d4826b4bfaa6011702176dbd9a0fa0.tar.gz |
core.actions: some cleaning
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 6 |
1 files changed, 1 insertions, 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 |