From 336cc468e37cb41ce9c1838c7d93138cf48e0916 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 12 Feb 2010 20:33:33 +0100 Subject: statusbar: display number of marked files --- ranger/gui/widgets/statusbar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py index 3aab5e2f..a399e719 100644 --- a/ranger/gui/widgets/statusbar.py +++ b/ranger/gui/widgets/statusbar.py @@ -209,6 +209,7 @@ class StatusBar(Widget): right.add(human_readable(sum(f.size \ for f in target.marked_items \ if f.is_file), seperator='')) + right.add(" / " + str(len(target.marked_items))) else: right.add(human_readable(target.disk_usage, seperator='')) right.add(", ", "space") -- cgit 1.4.1-2-gfad0