diff options
author | hut <hut@lavabit.com> | 2010-05-22 01:22:11 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-05-22 01:24:22 +0200 |
commit | b357f51526a9a4ab276f4376f16f48af670f0664 (patch) | |
tree | 960fe18534afca2166704555839fa19a628f54c0 /ranger | |
parent | 0dc5726741078aae0a41ef158ef5f5cef4b10a14 (diff) | |
download | ranger-b357f51526a9a4ab276f4376f16f48af670f0664.tar.gz |
defaults.apps: removed gimp entry from feh, type rgimp<CR> instead
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/defaults/apps.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py index 762bdc6e..f4d67285 100644 --- a/ranger/defaults/apps.py +++ b/ranger/defaults/apps.py @@ -140,14 +140,13 @@ class CustomApplications(Applications): if c.mode in arg: return tup('feh', arg[c.mode], c.file.path) - if c.mode is 4: # Note: mode 4 wouldn't need to depend on 'feh' - return self.either(c, 'gimp') if c.mode is 11: if len(c.files) > 1: return tup('feh', *c) else: from collections import deque + # Open all image files in feh directory = self.fm.env.get_directory(c.file.dirname) images = [f.path for f in directory.files if f.image] position = images.index(c.file.path) |