diff options
author | hut <hut@lepus.uberspace.de> | 2014-12-03 18:33:55 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2014-12-03 18:33:55 +0100 |
commit | a13ad907a0453d89a86d6a98ccc72b2b8ae05a5b (patch) | |
tree | c786dadebcc95460d7f5715395cfba87d4356822 /ranger | |
parent | 7417def6db0b5e9113335bd35e75ce1135e59253 (diff) | |
download | ranger-a13ad907a0453d89a86d6a98ccc72b2b8ae05a5b.tar.gz |
rename "title" linemode to "papertitle"
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/container/fsobject.py | 2 | ||||
-rw-r--r-- | ranger/core/actions.py | 4 | ||||
-rw-r--r-- | ranger/gui/widgets/browsercolumn.py | 2 |
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: |