summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-12 17:14:56 +0100
committerhut <hut@lavabit.com>2010-03-12 17:14:56 +0100
commit89660a640e925c7cd7806309003d069816053de8 (patch)
treea9f3216cb53f4c53426dae792b42dc8ec5585b50
parentad3c9818d57da3c4847189fdc9ed9666668ffad9 (diff)
downloadranger-89660a640e925c7cd7806309003d069816053de8.tar.gz
environment: changed misleading method name
-rw-r--r--ranger/container/environment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/container/environment.py b/ranger/container/environment.py
index be1d96c5..c67161ca 100644
--- a/ranger/container/environment.py
+++ b/ranger/container/environment.py
@@ -109,7 +109,7 @@ class Environment(SettingsAware):
 		stat = statvfs(path)
 		return stat.f_bavail * stat.f_bsize
 
-	def assign_correct_cursor_positions(self):
+	def assign_cursor_positions_for_subdirs(self):
 		"""Assign correct cursor positions for subdirectories"""
 		last_path = None
 		for path in reversed(self.pathway):
@@ -159,7 +159,7 @@ class Environment(SettingsAware):
 				pathway.append(self.get_directory(currentpath))
 			self.pathway = tuple(pathway)
 
-		self.assign_correct_cursor_positions()
+		self.assign_cursor_positions_for_subdirs()
 
 		# set the current file.
 		self.pwd.directories_first = self.settings.directories_first