From 39d74d84932d26168e5e42dd5446e11582d05b12 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 18 Apr 2010 16:48:36 +0200 Subject: fsobject.directory: reverse default size sort order --- ranger/fsobject/directory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py index af8ab232..1319ad21 100644 --- a/ranger/fsobject/directory.py +++ b/ranger/fsobject/directory.py @@ -62,7 +62,7 @@ class Directory(FileSystemObject, Accumulator, SettingsAware): sort_dict = { 'basename': sort_by_basename, - 'size': lambda path: path.size, + 'size': lambda path: -path.size, 'mtime': lambda path: -(path.stat and path.stat.st_mtime or 1), 'type': lambda path: path.mimetype, } -- cgit 1.4.1-2-gfad0