diff options
author | nfnty <git@nfnty.se> | 2015-10-22 07:41:03 +0200 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2016-02-08 04:43:04 +0100 |
commit | 3dff9d73d7fd225f77c18f5a53b3f804d7929e98 (patch) | |
tree | defb7bfd428fe79617226933eeefe8bcee75d3bc | |
parent | afa5d293a11f2955871493ad25b161beddad96a6 (diff) | |
download | ranger-3dff9d73d7fd225f77c18f5a53b3f804d7929e98.tar.gz |
VCS: Rename vcslocal to vcsnone
-rw-r--r-- | ranger/colorschemes/default.py | 2 | ||||
-rw-r--r-- | ranger/gui/context.py | 2 | ||||
-rw-r--r-- | ranger/gui/widgets/__init__.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py index 7a248f2e..967fa50c 100644 --- a/ranger/colorschemes/default.py +++ b/ranger/colorschemes/default.py @@ -137,7 +137,7 @@ class Default(ColorScheme): elif context.vcsremote and not context.selected: attr &= ~bold - if context.vcssync or context.vcslocal: + if context.vcssync or context.vcsnone: fg = green elif context.vcsbehind: fg = red diff --git a/ranger/gui/context.py b/ranger/gui/context.py index 66d43d1a..6b341bf1 100644 --- a/ranger/gui/context.py +++ b/ranger/gui/context.py @@ -19,7 +19,7 @@ CONTEXT_KEYS = ['reset', 'error', 'badinfo', 'infostring', 'vcsfile', 'vcsremote', 'vcsinfo', 'vcscommit', 'vcsconflict', 'vcschanged', 'vcsunknown', 'vcsignored', - 'vcsstaged', 'vcssync', 'vcslocal', 'vcsbehind', 'vcsahead', 'vcsdiverged'] + 'vcsstaged', 'vcssync', 'vcsnone', 'vcsbehind', 'vcsahead', 'vcsdiverged'] class Context(object): def __init__(self, keys): diff --git a/ranger/gui/widgets/__init__.py b/ranger/gui/widgets/__init__.py index 4dd28c6d..200ae8a8 100644 --- a/ranger/gui/widgets/__init__.py +++ b/ranger/gui/widgets/__init__.py @@ -15,7 +15,7 @@ class Widget(Displayable): 'none': (' ', []), 'unknown': ('?', ["vcsunknown"])} - vcsremotestatus_symb = {'none': ('⌂', ["vcslocal"]), + vcsremotestatus_symb = {'none': ('⌂', ["vcsnone"]), 'sync': ('=', ["vcssync"]), 'behind': ('<', ["vcsbehind"]), 'ahead': ('>', ["vcsahead"]), |