summary refs log tree commit diff stats
path: root/ranger/defaults/apps.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/defaults/apps.py')
-rw-r--r--ranger/defaults/apps.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 5cd39083..7e522df9 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -146,7 +146,7 @@ class CustomApplications(Applications):
 		if c.mode in arg:
 			return tup('feh', arg[c.mode], c.file.path)
 		if c.mode is 4:
-			return tup('gimp', *c)
+			return self.app_gimp(c)
 		if len(c.files) > 1:
 			return tup('feh', *c)
 
@@ -160,6 +160,10 @@ class CustomApplications(Applications):
 
 		return tup('feh', *deq)
 
+	@depends_on("gimp")
+	def app_gimp(self, c):
+		return tup('gimp', *c)
+
 	@depends_on('aunpack')
 	def app_aunpack(self, c):
 		if c.mode is 0: