diff options
-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"]), |