From 34fa7e334f559768be8fd094141a2e716d879807 Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 6 Oct 2010 03:36:45 +0200 Subject: gui.widgets.statusbar: Fixed minor bug in statusbar --- ranger/gui/widgets/statusbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py index 2a92f313..4b8a730e 100644 --- a/ranger/gui/widgets/statusbar.py +++ b/ranger/gui/widgets/statusbar.py @@ -241,7 +241,7 @@ class StatusBar(Widget): + str(len(target.files)) + ' ', base) if max_pos == 0: right.add('All', base, 'all') - if pos == 0: + elif pos == 0: right.add('Top', base, 'top') elif pos >= max_pos: right.add('Bot', base, 'bot') -- cgit 1.4.1-2-gfad0