summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-10 02:40:33 +0200
committerhut <hut@lavabit.com>2010-10-10 02:40:33 +0200
commit54c8375ab74309279f5ba114a003b3af1b6cc78f (patch)
tree6e22ea0aa1854965b02ba0c275d4ca63784c202c
parent2e74a4d016849eede5b3cb9200aa93bf930d5298 (diff)
downloadranger-54c8375ab74309279f5ba114a003b3af1b6cc78f.tar.gz
gui.colorscheme: removed fallback scheme, should never be used anyway
-rw-r--r--ranger/gui/colorscheme.py15
1 files changed, 2 insertions, 13 deletions
diff --git a/ranger/gui/colorscheme.py b/ranger/gui/colorscheme.py
index 1fa23656..5a2a97ef 100644
--- a/ranger/gui/colorscheme.py
+++ b/ranger/gui/colorscheme.py
@@ -100,22 +100,11 @@ class ColorScheme(SettingsAware):
 		return attr | color_pair(get_color(fg, bg))
 
 	def use(self, context):
-		"""
-		Use the colorscheme to determine the (fg, bg, attr) tuple.
-
-		When no colorscheme is found, ranger will fall back to this very
-		basic colorscheme where directories are blue and bold, and
-		selected files have the color inverted.
+		"""Use the colorscheme to determine the (fg, bg, attr) tuple.
 
 		Override this method in your own colorscheme.
 		"""
-		fg, attr = -1, 0
-		if context.highlight or context.selected:
-			attr = 262144
-		if context.directory:
-			attr |= 2097152
-			fg = 4
-		return fg, -1, attr
+		return (-1, -1, 0)
 
 def _colorscheme_name_to_class(signal):
 	# Find the colorscheme.  First look in ~/.config/ranger/colorschemes,