diff options
author | hut <hut@lavabit.com> | 2010-10-11 08:11:22 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-10-11 08:11:22 +0200 |
commit | 6dad7b9222168602c5c23fc001be290110721ec5 (patch) | |
tree | c8faea0a101bf05368d15888181473fb22b784cd /ranger/core/actions.py | |
parent | a0ca73c855d4925780253c8294d725892455cc51 (diff) | |
download | ranger-6dad7b9222168602c5c23fc001be290110721ec5.tar.gz |
Added boolean option use_preview_script
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index a815b111..2f6d2719 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -576,7 +576,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): # -- Previews # -------------------------- def get_preview(self, path, width, height): - if self.settings.preview_script: + if self.settings.preview_script and self.settings.use_preview_script: # self.previews is a 2 dimensional dict: # self.previews['/tmp/foo.jpg'][(80, 24)] = "the content..." # self.previews['/tmp/foo.jpg']['loading'] = False |