diff options
author | hut <hut@lavabit.com> | 2009-07-18 21:49:08 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-18 21:49:08 +0200 |
commit | f5590f434263e9f8fbc7ba5d4211e984bade445a (patch) | |
tree | 5696ef7f6e36b8d32ad29b97642fefe983757598 /code | |
parent | e3da2766bd220e85d6850ff6a0d1c692dba9c0d0 (diff) | |
download | ranger-f5590f434263e9f8fbc7ba5d4211e984bade445a.tar.gz |
renamed option "dir_first" to "list_dir_first"
this is more obvious :-)
Diffstat (limited to 'code')
-rw-r--r-- | code/directory.rb | 2 | ||||
-rw-r--r-- | code/keys.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/code/directory.rb b/code/directory.rb index 65c4047c..c3ab2fbe 100644 --- a/code/directory.rb +++ b/code/directory.rb @@ -224,7 +224,7 @@ class Directory def sort() @files = @files.sort {|x,y| - if Option.dir_first + if Option.list_dir_first if x.dir? if y.dir? then sort_sub(x, y) else -1 end else diff --git a/code/keys.rb b/code/keys.rb index b042c10e..f3ea33d0 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -478,7 +478,7 @@ module Fm Option.cd ^= true when 'td' - Option.dir_first ^= true + Option.list_dir_first ^= true @pwd.schedule ## }}} |