diff options
author | hut <hut@lavabit.com> | 2012-02-09 16:04:02 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-02-09 16:04:30 +0100 |
commit | 731a5a1eb66d7ff58258dbda30a8c8d9141d129f (patch) | |
tree | 407484dba08717c24acadb08fcf3b74ea5a9fe00 /ranger | |
parent | 25dfd676d7211865d2ee0f6af2ce9ef19a6c8dcf (diff) | |
download | ranger-731a5a1eb66d7ff58258dbda30a8c8d9141d129f.tar.gz |
widgets/statusbar: Display "All" when all files are shown (fix)
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/statusbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py index 7948b201..1a3b356e 100644 --- a/ranger/gui/widgets/statusbar.py +++ b/ranger/gui/widgets/statusbar.py @@ -254,7 +254,7 @@ class StatusBar(Widget): elif len(target.files): right.add(str(target.pointer + 1) + '/' + str(len(target.files)) + ' ', base) - if max_pos == 0: + if max_pos <= 0: right.add('All', base, 'all') elif pos == 0: right.add('Top', base, 'top') |