summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-30 01:46:45 +0200
committerhut <hut@lavabit.com>2010-04-30 01:46:45 +0200
commit2e971c4392957e455ef142318566b43a128fbf39 (patch)
treef511d9ebfaa7d55eb72757d376bccfac56f3cea3
parent02bd7c4f5309e20f366ce519da50f01c2b680a7d (diff)
downloadranger-2e971c4392957e455ef142318566b43a128fbf39.tar.gz
api.commands: bugfix (renamed Command.quick_open to Command.quick)
-rw-r--r--ranger/api/commands.py2
-rw-r--r--ranger/help/console.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/ranger/api/commands.py b/ranger/api/commands.py
index 55bb5b54..73975adc 100644
--- a/ranger/api/commands.py
+++ b/ranger/api/commands.py
@@ -80,7 +80,7 @@ class Command(FileManagerAware):
 	def tab(self):
 		"""Override this"""
 
-	def quick_open(self):
+	def quick(self):
 		"""Override this"""
 
 	def _tab_only_directories(self):
diff --git a/ranger/help/console.py b/ranger/help/console.py
index 1b78b215..3e83e4a8 100644
--- a/ranger/help/console.py
+++ b/ranger/help/console.py
@@ -144,9 +144,9 @@ ranger/ext/command_parser.py is used.  The tab method should return None,
 a string or an iterable sequence containing the strings which should be
 cycled through by pressing tab.
 
-Only those commands which implement the quick_open method will be specially
+Only those commands which implement the quick() method will be specially
 treated by the Quick Command Console.  For the rest, both consoles are equal.
-quick_open is called after each key press and if it returns True, the
+quick() is called after each key press and if it returns True, the
 command will be executed immediately.