summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-14 19:31:26 +0100
committerhut <hut@lavabit.com>2010-03-14 19:31:26 +0100
commit9341b0d68e0a87e8187fbfa3d6c85cf10f2fe2d1 (patch)
treedc113aaf66776c8098756f1d225f6c64671fa6f1 /ranger
parent1f62d7dbfdce9150ba8c2706216d5abf9a5ba7af (diff)
downloadranger-9341b0d68e0a87e8187fbfa3d6c85cf10f2fe2d1.tar.gz
apps: added seperate entry for GIMP
Diffstat (limited to 'ranger')
-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:
bit.com> 2010-02-25 16:44:22 +0100 committer hut <hut@lavabit.com> 2010-02-25 20:37:11 +0100 settings: check the type of options' href='/akspecs/ranger/commit/ranger/shared/settings.py?h=v1.5.4&id=24cd97b78d90b3b7311381d1c4bab7160d14604f'>24cd97b7 ^
24cd97b7 ^
3c0fd67f ^
24cd97b7 ^
ff64e373 ^

66ffb461 ^
ff64e373 ^
61006fdd ^

e690d4e9 ^
0a053bef ^
ff64e373 ^


6b3a30d7 ^
8eecaa8a ^
7213292e ^
ff64e373 ^



dd7f4e5c ^
1c683951 ^
ff64e373 ^
24cd97b7 ^
ff64e373 ^



876e288a ^

ff64e373 ^

465dd890 ^
ff64e373 ^
6dad7b92 ^
6e152710 ^
d9d3243b ^
24cd97b7 ^
733dbb9d ^
51d9c72e ^
a4570538 ^
da114c52 ^



e4e9ef4a ^


da114c52 ^




414b01ec ^


da114c52 ^

a4570538 ^
9b83f114 ^

da114c52 ^

da114c52 ^

9aff6cc7 ^

da114c52 ^










51d9c72e ^
da114c52 ^


1c09037c ^



e8faa101 ^











da114c52 ^













51d9c72e ^
da114c52 ^

51d9c72e ^
da114c52 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138