summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-04-02 10:36:33 +0200
committerhut <hut@lepus.uberspace.de>2016-04-02 10:36:33 +0200
commit46537efbf1959dcde3f0ad5fb29e0436b324aca2 (patch)
tree64b97b1e1527127b8126a9b3bbab58aa7a0ec2fb
parentc2a80403babd4f963eb1d0229ab3dd8214715d54 (diff)
downloadranger-46537efbf1959dcde3f0ad5fb29e0436b324aca2.tar.gz
reverted back to miller columns
-rw-r--r--ranger/colorschemes/default.py16
-rw-r--r--ranger/gui/ui.py6
2 files changed, 3 insertions, 19 deletions
diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py
index ec12f7f9..e5dbf3a6 100644
--- a/ranger/colorschemes/default.py
+++ b/ranger/colorschemes/default.py
@@ -14,22 +14,6 @@ class Default(ColorScheme):
             return default_colors
 
         elif context.in_browser:
-            bg = blue if context.active_pane else cyan
-            fg = white
-
-            if not context.selected and context.directory:
-                attr |= bold
-
-            if context.marked:
-                bg = red
-            if context.tag_marker:
-                fg = black
-                attr &= ~bold
-            if context.selected:
-                bg = cyan if context.active_pane else blue
-                fg = black
-
-        elif context.in_browser:
             if context.selected:
                 attr = reverse
             else:
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index 5d06ca13..67db51d3 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -35,7 +35,7 @@ def _setup_mouse(signal):
         curses.mousemask(0)
 
 class UI(DisplayableContainer):
-    ALLOWED_VIEWMODES = ('multipane', )
+    ALLOWED_VIEWMODES = 'miller', 'multipane'
 
     is_set_up = False
     load_mode = False
@@ -242,8 +242,8 @@ class UI(DisplayableContainer):
         # Create the browser view
         self.settings.signal_bind('setopt.viewmode', self._set_viewmode)
         self._viewmode = None
-        self.viewmode = 'multipane'  # this line sets self.browser implicitly
-                                     # through the signal handler bound above
+        self.viewmode = 'miller'  # this line sets self.browser implicitly
+                                  # through the signal handler bound above
         self.add_child(self.browser)
 
         # Create the process manager