about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-12 20:31:54 +0100
committerhut <hut@lavabit.com>2010-03-12 20:31:54 +0100
commitc9c7a8335d115d62312d31f95397f956488e8c7a (patch)
tree044663c04384b05461b5c58b089dd87b4dc77f41
parenta049ec03ac8349c231c04abe196cf1eca98a9c12 (diff)
downloadranger-c9c7a8335d115d62312d31f95397f956488e8c7a.tar.gz
apps: added eye of gnome
-rw-r--r--ranger/defaults/apps.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 37099d04..5cd39083 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -78,7 +78,7 @@ class CustomApplications(Applications):
 			return self.either(c, 'mplayer', 'totem')
 
 		if f.image:
-			return self.either(c, 'feh', 'mirage')
+			return self.either(c, 'feh', 'eye_of_gnome', 'mirage')
 
 		if f.document:
 			return self.app_editor(c)
@@ -127,6 +127,11 @@ class CustomApplications(Applications):
 		else:
 			return tup('mplayer', '-fs', *c)
 
+	@depends_on("eog")
+	def app_eye_of_gnome(self, c):
+		c.flags += 'd'
+		return tup('eog', *c)
+
 	@depends_on('mirage')
 	def app_mirage(self, c):
 		c.flags += 'd'