about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-07 03:34:56 +0200
committerhut <hut@lavabit.com>2010-04-07 03:34:56 +0200
commit3cec45b250f594675527887500105a328188e35d (patch)
tree5d353d722ed8662983c1d0ab6c2249d332baae43 /ranger
parent54ea4a29b7e95431df3d33aa1ffea1ad8c5ee321 (diff)
downloadranger-3cec45b250f594675527887500105a328188e35d.tar.gz
widgets.pager: re-added move_horizontal, displaying warning message
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/pager.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py
index c3bff4ad..49a1df7e 100644
--- a/ranger/gui/widgets/pager.py
+++ b/ranger/gui/widgets/pager.py
@@ -50,6 +50,10 @@ class Pager(Widget):
 
 		keyfnc(self.commandlist)
 
+	def move_horizontal(self, *a, **k):
+		"""For compatibility"""
+		self.fm.notify("Your keys.py is out of date. Can't scroll!", bad=True)
+
 	def open(self):
 		self.scroll_begin = 0
 		self.markup = None