summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-01 23:21:09 +0100
committerhut <hut@lavabit.com>2010-01-01 23:21:09 +0100
commit44aec1047a2d7e775a4802a9b9c3968149797651 (patch)
tree647b73c5c2a6698d597b8466e12ad1db8a5439eb /ranger
parent2f6a77abaeebc8c660dc57db71e025f95a82cf04 (diff)
downloadranger-44aec1047a2d7e775a4802a9b9c3968149797651.tar.gz
settings: corrected preview_files option
Diffstat (limited to 'ranger')
-rw-r--r--ranger/defaults/options.py2
-rw-r--r--ranger/gui/widgets/browsercolumn.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ranger/defaults/options.py b/ranger/defaults/options.py
index 27d8b5d4..fb1358e6 100644
--- a/ranger/defaults/options.py
+++ b/ranger/defaults/options.py
@@ -6,7 +6,7 @@ colorscheme = colorschemes.default
 max_history_size = 20
 scroll_offset = 2
 max_dirsize_for_autopreview = None
-preview_files = False
+preview_files = True
 
 sort = 'basename'
 reverse = False
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 5fb61704..6ab49c62 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -105,7 +105,7 @@ class BrowserColumn(Pager, Widget):
 			self.need_redraw = False
 
 	def _preview_this_file(self, target):
-		return target.document and not self.settings.preview_files
+		return target.document and self.settings.preview_files
 
 	def _draw_file(self):
 		"""Draw a preview of the file, if the settings allow it"""
f='#n184'>184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277