diff options
author | hut <hut@lavabit.com> | 2010-01-01 21:46:59 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-01 21:46:59 +0100 |
commit | e4572991772080fdffe59c8165f29e15c7b32757 (patch) | |
tree | 87f76a032b77319d259a28c2799a15307e8c5290 | |
parent | 75013dc79356ba714d49027e81652e00fdb1afab (diff) | |
download | ranger-e4572991772080fdffe59c8165f29e15c7b32757.tar.gz |
low view: added title
-rw-r--r-- | ranger/actions.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/actions.py b/ranger/actions.py index 62b55b81..597e2699 100644 --- a/ranger/actions.py +++ b/ranger/actions.py @@ -182,7 +182,10 @@ class Actions(EnvironmentAware, SettingsAware): return pager = self.ui.open_pager() - pager.set_source(self.log) + if self.log: + pager.set_source(["Message Log:"] + list(self.log)) + else: + pager.set_source(["Message Log:", "No messages!"]) def display_file(self): if not hasattr(self.ui, 'open_embedded_pager'): |