summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarcel Partap <mpartap@gmx.net>2015-09-15 16:27:06 +0200
committerhut <hut@lepus.uberspace.de>2015-10-20 13:27:27 +0200
commita0e753fa3ab13ef36ad93fab7f48982b1abbb46b (patch)
tree2bf45d1102b844c05d1aecf0f46b5addf3ca86e3
parentb1e8f48f012b93b28945f5a900f606ced061f7ee (diff)
downloadranger-a0e753fa3ab13ef36ad93fab7f48982b1abbb46b.tar.gz
Use configured ellipsis instead of tilde for cut tab titles.
-rw-r--r--ranger/gui/widgets/titlebar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/titlebar.py b/ranger/gui/widgets/titlebar.py
index c3785986..76427ce1 100644
--- a/ranger/gui/widgets/titlebar.py
+++ b/ranger/gui/widgets/titlebar.py
@@ -140,7 +140,7 @@ class TitleBar(Widget):
             if not dirname:
                 result += ":/"
             elif len(dirname) > 15:
-                result += ":" + dirname[:14] + "~"
+                result += ":" + dirname[:14] + self.ellipsis[self.settings.unicode_ellipsis]
             else:
                 result += ":" + dirname
         return result