about summary refs log tree commit diff stats
path: root/ranger/core/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r--ranger/core/actions.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 480200d5..877c300e 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -27,6 +27,11 @@ class Actions(EnvironmentAware, SettingsAware):
 	search_method = 'ctime'
 	search_forward = False
 
+	def dummy(self, *args, **keywords):
+		"""For backwards compatibility only."""
+
+	handle_mouse = resize = dummy
+
 	def search(self, order=None, forward=True):
 		original_order = order
 		if self.search_forward:
@@ -74,10 +79,6 @@ class Actions(EnvironmentAware, SettingsAware):
 			self.search_method = order
 			self.search_forward = forward
 
-	def resize(self):
-		"""Update the size of the UI"""
-		self.ui.update_size()
-
 	def exit(self):
 		"""Exit the program"""
 		raise SystemExit()
@@ -172,10 +173,6 @@ class Actions(EnvironmentAware, SettingsAware):
 		"""Move back and forth in the history"""
 		self.env.history_go(relative)
 
-	def handle_mouse(self):
-		"""Handle mouse-buttons if one was pressed"""
-		self.ui.handle_mouse()
-
 	def display_command_help(self, console_widget):
 		if not hasattr(self.ui, 'open_pager'):
 			return