From 8bb9414bc7e1e666104bf4b8bf315b52284d3cb4 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 10 Oct 2011 16:19:38 +0200 Subject: core.actions: Removed fm.search_forward attribute (not used) --- ranger/core/actions.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 7ae6628b..83d3b201 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -41,7 +41,6 @@ class _MacroTemplate(string.Template): class Actions(FileManagerAware, EnvironmentAware, SettingsAware): search_method = 'ctime' - search_forward = False # -------------------------- # -- Basic Commands @@ -474,10 +473,6 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): def search_next(self, order=None, offset=1, forward=True): original_order = order - if self.search_forward: - direction = bool(forward) - else: - direction = not bool(forward) if order is None: order = self.search_method @@ -521,7 +516,6 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): def set_search_method(self, order, forward=True): if order in ('search', 'tag', 'size', 'mimetype', 'ctime'): self.search_method = order - self.search_forward = forward # -------------------------- # -- Tags -- cgit 1.4.1-2-gfad0