diff options
author | hut <hut@lavabit.com> | 2012-08-02 03:51:00 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-08-02 03:52:28 +0200 |
commit | 176e8a684cb490393f84e7fdccc6aafda559364b (patch) | |
tree | 526b3cc3f1f182ae62ca6b67146fcf7fbb935fc3 /doc/HACKING | |
parent | d2c8c6cb3f24ac626275af133bb723e549850538 (diff) | |
download | ranger-176e8a684cb490393f84e7fdccc6aafda559364b.tar.gz |
renamed ranger/defaults to ranger/config
Diffstat (limited to 'doc/HACKING')
-rw-r--r-- | doc/HACKING | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/HACKING b/doc/HACKING index f6d5d064..89452398 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -46,7 +46,7 @@ In ranger/fsobject/file.py the constant PREVIEW_BLACKLIST * Adding options: -In ranger/defaults/options.py +In ranger/config/options.py add the default value, like: my_option = True In ranger/container/settingobject.py add the name of your option to the constant ALLOWED_SETTINGS @@ -58,12 +58,12 @@ assuming <self> is a "SettingsAware" object. Copy ranger/colorschemes/default.py to ranger/colorschemes/myscheme.py and modify it according to your needs. Alternatively, mimic the jungle colorscheme. It subclasses the default scheme and just modifies a few things. -In ranger/defaults/options.py (or ~/.config/ranger/options.py), change +In ranger/config/options.py (or ~/.config/ranger/options.py), change colorscheme = 'default' to: colorscheme = 'myscheme' * Change the file type => application associations: -In ranger/defaults/apps.py +In ranger/config/apps.py modify the method app_default. The variable "f" is a filesystem-object with attributes like mimetype, extension, etc. For a full list, check ranger/fsobject/fsobject.py |