summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/container/fsobject.py2
-rw-r--r--ranger/core/actions.py4
-rw-r--r--ranger/gui/widgets/browsercolumn.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/ranger/container/fsobject.py b/ranger/container/fsobject.py
index fb3356a4..e5e0983e 100644
--- a/ranger/container/fsobject.py
+++ b/ranger/container/fsobject.py
@@ -82,7 +82,7 @@ class FileSystemObject(FileManagerAware, SettingsAware):
 
     basename_is_rel = False
 
-    # the line mode may be "filename", "permissions" or "title"
+    # the line mode may be "filename", "permissions" or "papertitle"
     _linemode = "filename"
 
     def __init__(self, path, preload=None, path_is_abs=False, basename_is_rel=False):
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 26223b5f..3d74e03a 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -155,13 +155,13 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
         """
         Change what is displayed as a filename.
 
-        - "mode" may be: "filename", "permissions", "title", the mode "normal"
+        - "mode" may be: "filename", "permissions", "papertitle", the mode "normal"
           is mapped to "filename".
         - "directory" specifies the directory. None means the current directory
         - "depth" specifies the recursion depth
         """
 
-        assert mode in ("normal", "filename", "permissions", "title")
+        assert mode in ("normal", "filename", "permissions", "papertitle")
 
         if mode == "normal":
             mode = "filename"
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index c96a2d73..137c30a4 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -261,7 +261,7 @@ class BrowserColumn(Pager):
 
             # Deal with the line mode
             use_linemode = drawn._linemode
-            if use_linemode == "title":
+            if use_linemode == "papertitle":
                 paperinfo = self.fm.papermanager.get_paper_info(drawn.path)
                 if paperinfo.title:
                     if paperinfo.year: