summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-16 17:21:14 +0200
committerhut <hut@lavabit.com>2010-04-16 17:21:14 +0200
commit60c5b88fc661e3fb87a290cb66a04523f9bf6c36 (patch)
treedea07a9000a8c325212534aa6091e66cfa6e05a9 /ranger
parent805e9d231f5bffea4f545382e32b918c5d0205d4 (diff)
downloadranger-60c5b88fc661e3fb87a290cb66a04523f9bf6c36.tar.gz
core.actions: fix hints
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/actions.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 2fd7d46d..08947a8e 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -99,7 +99,9 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 		self.log.appendleft(text)
 		if hasattr(self.ui, 'notify'):
 			self.ui.notify(text, duration=duration, bad=bad)
-	hint = notify
+
+	def hint(self, text):
+		self.ui.status.hint = text
 
 	def redraw_window(self):
 		"""Redraw the window"""
19
20
21
22
23
24
25
26
27
28
29
30
31
                     
                                                                       
                                                                        



                     
                          









                                                         
                                                                         











                                                            
#!/usr/bin/env python
# Copyright (C) 2009, 2010, 2011  Roman Zimbelmann <romanz@lavabit.com>
# This software is distributed under the terms of the GNU GPL version 3.

import distutils.core
import ranger

if __name__ == '__main__':
    distutils.core.setup(
        name='ranger',
        description='Vim-like file manager',
        long_description=ranger.__doc__,
        version=ranger.__version__,
        author=ranger.__author__,
        author_email=ranger.__email__,
        license=ranger.__license__,
        url='http://savannah.nongnu.org/projects/ranger',
        scripts=['scripts/ranger', 'scripts/rifle'],
        data_files=[('share/man/man1', ['doc/ranger.1', 'doc/rifle.1'])],
        package_data={'ranger': ['data/*', 'config/rc.conf',
            'config/rifle.conf']},
        packages=('ranger',
                  'ranger.api',
                  'ranger.colorschemes',
                  'ranger.container',
                  'ranger.core',
                  'ranger.config',
                  'ranger.ext',
                  'ranger.fsobject',
                  'ranger.gui',
                  'ranger.gui.widgets'))