summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-28 17:40:37 +0200
committerhut <hut@lavabit.com>2010-03-28 17:40:37 +0200
commit0a053beffb5a5fdf258dfb9c3871d9e6277bee7d (patch)
tree8281acd6fdc9353cab22ecede2ba7296e8e1aa67
parent385642efacc1e6946ee7e8f4415fa345e70388ec (diff)
downloadranger-0a053beffb5a5fdf258dfb9c3871d9e6277bee7d.tar.gz
added an extra option: draw_bookmark_borders
-rw-r--r--ranger/defaults/options.py1
-rw-r--r--ranger/gui/widgets/browserview.py2
-rw-r--r--ranger/shared/settings.py1
3 files changed, 3 insertions, 1 deletions
diff --git a/ranger/defaults/options.py b/ranger/defaults/options.py
index e41faf2f..b959fa75 100644
--- a/ranger/defaults/options.py
+++ b/ranger/defaults/options.py
@@ -52,6 +52,7 @@ collapse_preview = True
 
 # Draw borders around columns?
 draw_borders = False
+draw_bookmark_borders = True
 
 # Set a title for the window?
 update_title = True
diff --git a/ranger/gui/widgets/browserview.py b/ranger/gui/widgets/browserview.py
index 100e1dbc..376c01e0 100644
--- a/ranger/gui/widgets/browserview.py
+++ b/ranger/gui/widgets/browserview.py
@@ -124,7 +124,7 @@ class BrowserView(Widget, DisplayableContainer):
 			self.addstr(line, 0, whitespace)
 			self.addnstr(line, 0, string, self.wid)
 
-		if self.settings.draw_borders:
+		if self.settings.draw_bookmark_borders:
 			self.win.hline(line+1, 0, curses.ACS_HLINE, maxlen)
 
 			if maxlen < self.wid:
diff --git a/ranger/shared/settings.py b/ranger/shared/settings.py
index 991f77d2..a4ca8df5 100644
--- a/ranger/shared/settings.py
+++ b/ranger/shared/settings.py
@@ -26,6 +26,7 @@ ALLOWED_SETTINGS = {
 	'autosave_bookmarks': bool,
 	'collapse_preview': bool,
 	'draw_borders': bool,
+	'draw_bookmark_borders': bool,
 	'sort': str,
 	'reverse': bool,
 	'case_insensitive': bool,