diff options
author | hut <hut@lavabit.com> | 2011-03-08 03:44:14 +0000 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-04-03 16:31:09 +0200 |
commit | 9755f3b036e154d7b6f1efff9f83a7043859a398 (patch) | |
tree | dcc74c9cf2f7c73b34fcfc1aeac3cd8e49853fef | |
parent | 4343c2f00ca9d86be8579d403c4bc12dcd60b96d (diff) | |
download | ranger-9755f3b036e154d7b6f1efff9f83a7043859a398.tar.gz |
extended apps.py
Patch taken from: https://bbs.archlinux.org/viewtopic.php?pid=900213#p900213
-rw-r--r-- | ranger/defaults/apps.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py index 7926bbba..ffa828c0 100644 --- a/ranger/defaults/apps.py +++ b/ranger/defaults/apps.py @@ -65,8 +65,9 @@ class CustomApplications(Applications): if f.extension is not None: if f.extension in ('pdf', ): - c.flags += 'd' return self.either(c, 'evince', 'zathura', 'apvlv') + if f.extension == 'djvu': + return self.either(c, 'evince') if f.extension in ('xml', ): return self.either(c, 'editor') if f.extension in ('html', 'htm', 'xhtml'): |