about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-17 23:45:48 +0100
committerhut <hut@lavabit.com>2010-01-17 23:45:48 +0100
commitac0daa33edca8d797fb3577e5b2f3d9e9ea09d06 (patch)
tree98171423e796615098059630fc612b9d4b1a0c5c
parentfc486c609453b3611db75f53026eaf22d1a76e6e (diff)
downloadranger-ac0daa33edca8d797fb3577e5b2f3d9e9ea09d06.tar.gz
apps: use "apvlv" to view pdfs rather than evince
-rw-r--r--ranger/defaults/apps.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 32b9b13b..62866cb6 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -20,7 +20,7 @@ class CustomApplications(Applications):
 		f = c.file
 
 		if f.extension is not None and f.extension in ('pdf'):
-			return self.app_evince(c)
+			return self.app_apvlv(c)
 
 		if f.container:
 			return self.app_aunpack(c)
@@ -78,6 +78,6 @@ class CustomApplications(Applications):
 			return tup('aunpack', '-l', c.file.path)
 		return tup('aunpack', c.file.path)
 	
-	def app_evince(self, c):
+	def app_apvlv(self, c):
 		c.flags += 'd'
-		return tup('evince', *c)
+		return tup('apvlv', *c)