about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-17 21:14:21 +0100
committerhut <hut@lavabit.com>2009-12-17 21:14:21 +0100
commit4700f3e5cb62355fe2baaa3b732f4dbdf52a5fc9 (patch)
tree80bda49b74607b8b6da54d3db8dde208d71f9001 /ranger
parentd672cbcb3eaef39222fd3902b8ffcb80a21f48f1 (diff)
downloadranger-4700f3e5cb62355fe2baaa3b732f4dbdf52a5fc9.tar.gz
fixed colorschemes, added unittest for colorschemes
Diffstat (limited to 'ranger')
-rw-r--r--ranger/colorschemes/default.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py
index ab2b71d3..ba78142d 100644
--- a/ranger/colorschemes/default.py
+++ b/ranger/colorschemes/default.py
@@ -38,7 +38,7 @@ class Default(ColorScheme):
 				fg = green
 
 			if context.link:
-				fg = cyan
+				fg = context.good and cyan or magenta
 
 			if context.maindisplay and context.selected:
 				attr |= bold
@@ -57,9 +57,9 @@ class Default(ColorScheme):
 
 		elif context.in_statusbar:
 			if context.permissions:
-				if context.allowed:
+				if context.good:
 					fg = cyan
-				elif context.denied:
+				elif context.bad:
 					fg = magenta
 
 		return fg, bg, attr