summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-01 21:46:59 +0100
committerhut <hut@lavabit.com>2010-01-01 21:46:59 +0100
commite4572991772080fdffe59c8165f29e15c7b32757 (patch)
tree87f76a032b77319d259a28c2799a15307e8c5290 /ranger
parent75013dc79356ba714d49027e81652e00fdb1afab (diff)
downloadranger-e4572991772080fdffe59c8165f29e15c7b32757.tar.gz
low view: added title
Diffstat (limited to 'ranger')
-rw-r--r--ranger/actions.py5
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'):