diff options
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 7da38162..b64ef316 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -28,6 +28,15 @@ class Actions(EnvironmentAware, SettingsAware): search_forward = False # -------------------------- + # -- Backwards Compatibility + # -------------------------- + + def dummy(self, *args, **keywords): + """For backwards compatibility only.""" + + handle_mouse = resize = dummy + + # -------------------------- # -- Basic Commands # -------------------------- @@ -49,11 +58,6 @@ class Actions(EnvironmentAware, SettingsAware): cwd.unload() cwd.load_content() - def dummy(self, *args, **keywords): - """For backwards compatibility only.""" - - handle_mouse = resize = dummy - def notify(self, text, duration=4, bad=False): if isinstance(text, Exception): if ranger.arg.debug: |