summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-03-08 03:44:14 +0000
committerhut <hut@lavabit.com>2011-03-08 03:44:14 +0000
commit96883700b683f0f99e2e6512ee5b0484e9cb1a9d (patch)
treedcc74c9cf2f7c73b34fcfc1aeac3cd8e49853fef
parentca4b999c016a9e1524e8ac268d87b668927afbfb (diff)
downloadranger-96883700b683f0f99e2e6512ee5b0484e9cb1a9d.tar.gz
extended apps.py
Patch taken from:
https://bbs.archlinux.org/viewtopic.php?pid=900213#p900213
-rw-r--r--ranger/defaults/apps.py3
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'):