summary refs log tree commit diff stats
path: root/ranger
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 /ranger
parent5d548b9eabe7eb836a7e40232e16c70446f3b2a1 (diff)
downloadranger-8bb9414bc7e1e666104bf4b8bf315b52284d3cb4.tar.gz
core.actions: Removed fm.search_forward attribute (not used)
Diffstat (limited to 'ranger')
-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
'n167' href='#n167'>167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282