summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-21 22:21:57 +0100
committerhut <hut@lavabit.com>2013-02-21 22:22:57 +0100
commit914d37cd8e186c1e2b74a9d34ab4c22937d49b87 (patch)
tree34abffe4c7bda34098c46fc062e7ad70c49d377a
parentf56258b926dc00392bcc1087e3c03d70f864c04d (diff)
downloadranger-914d37cd8e186c1e2b74a9d34ab4c22937d49b87.tar.gz
widgets.statusbar: remove superfluous space
When display_size_in_status_bar is turned off, there was an extra space
where the size would usually be.
-rw-r--r--ranger/gui/widgets/statusbar.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index a2ce3830..9c6e4a4e 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -177,8 +177,7 @@ class StatusBar(Widget):
 
             if self.settings.display_size_in_status_bar and target.infostring:
                 left.add(target.infostring.replace(" ", ""))
-
-            left.add_space()
+                left.add_space()
 
             left.add(strftime(self.timeformat,
                     localtime(stat.st_mtime)), 'mtime')