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.
 
 
a id='n119' href='#n119'>119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 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