diff options
author | hut <hut@lavabit.com> | 2010-03-14 19:31:26 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-14 19:31:26 +0100 |
commit | 9341b0d68e0a87e8187fbfa3d6c85cf10f2fe2d1 (patch) | |
tree | dc113aaf66776c8098756f1d225f6c64671fa6f1 | |
parent | 1f62d7dbfdce9150ba8c2706216d5abf9a5ba7af (diff) | |
download | ranger-9341b0d68e0a87e8187fbfa3d6c85cf10f2fe2d1.tar.gz |
apps: added seperate entry for GIMP
-rw-r--r-- | ranger/defaults/apps.py | 6 |
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: |