summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-29 20:31:43 +0200
committerhut <hut@lavabit.com>2010-03-29 20:31:43 +0200
commit6d4dddc7d5e990bdd8c9102c3a99f6356f12a7ff (patch)
tree3996636a607516ffa2c56b0c409a0b3c2c3bb2fa /ranger
parent45cf5174fef40415ac270a6c64a388a8994dcff9 (diff)
downloadranger-6d4dddc7d5e990bdd8c9102c3a99f6356f12a7ff.tar.gz
defaults.apps: add the 'd' flag to pdf readers
Diffstat (limited to 'ranger')
-rw-r--r--ranger/defaults/apps.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 5be33828..084f9638 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -59,6 +59,7 @@ 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 in ('html', 'htm', 'xhtml', 'swf'):
 				return self.either(c, 'firefox', 'opera', 'elinks')