about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2014-12-03 18:33:55 +0100
committerhut <hut@lepus.uberspace.de>2014-12-03 18:33:55 +0100
commita13ad907a0453d89a86d6a98ccc72b2b8ae05a5b (patch)
treec786dadebcc95460d7f5715395cfba87d4356822 /ranger
parent7417def6db0b5e9113335bd35e75ce1135e59253 (diff)
downloadranger-a13ad907a0453d89a86d6a98ccc72b2b8ae05a5b.tar.gz
rename "title" linemode to "papertitle"
Diffstat (limited to 'ranger')
-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:
d='n10' href='#n10'>10 11 12 13 14 15 16 17 18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98