diff options
author | hut <hut@lavabit.com> | 2010-04-16 18:03:36 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-16 18:03:36 +0200 |
commit | b16d803380fcf59716ee7a63abbad3ffed56322e (patch) | |
tree | cf76356f8bab3ff6c5687ea039ba9e7127436c14 | |
parent | 02e1d359fc8c6e94c11d30ffce21dada0f34766f (diff) | |
download | ranger-b16d803380fcf59716ee7a63abbad3ffed56322e.tar.gz |
core.actions.hint(): relocation, more abstraction
-rw-r--r-- | ranger/core/actions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 2d9546be..88ee9d83 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -100,9 +100,6 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): if hasattr(self.ui, 'notify'): self.ui.notify(text, duration=duration, bad=bad) - def hint(self, text): - self.ui.status.hint = text - def redraw_window(self): """Redraw the window""" self.ui.redraw_window() @@ -235,6 +232,9 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): return self.execute_file(file, app = 'editor') + def hint(self, text): + self.ui.hint(text) + def toggle_boolean_option(self, string): """Toggle a boolean option named <string>""" if isinstance(self.env.settings[string], bool): |