summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-10 16:19:38 +0200
committerhut <hut@lavabit.com>2011-10-10 16:19:38 +0200
commit8bb9414bc7e1e666104bf4b8bf315b52284d3cb4 (patch)
tree6c2d6e4885659c50c91eb9945bcdde942b15c78e
parent5d548b9eabe7eb836a7e40232e16c70446f3b2a1 (diff)
downloadranger-8bb9414bc7e1e666104bf4b8bf315b52284d3cb4.tar.gz
core.actions: Removed fm.search_forward attribute (not used)
-rw-r--r--ranger/core/actions.py6
1 files changed, 0 insertions, 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