summary refs log tree commit diff stats
path: root/ranger/core/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r--ranger/core/actions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 89bd9389..8cecf077 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -430,7 +430,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 	# Tags are saved in ~/.config/ranger/tagged and simply mark if a
 	# file is important to you in any context.
 
-	def tag_toggle(self, paths=None, value=None, movedown=None):
+	def tag_toggle(self, paths=None, value=None, movedown=None, mark='*'):
 		if not self.tags:
 			return
 		if paths is None:
@@ -438,11 +438,11 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 		else:
 			tags = [realpath(path) for path in paths]
 		if value is True:
-			self.tags.add(*tags)
+			self.tags.add(*tags, mark=mark)
 		elif value is False:
 			self.tags.remove(*tags)
 		else:
-			self.tags.toggle(*tags)
+			self.tags.toggle(*tags, mark=mark)
 
 		if movedown is None:
 			movedown = len(tags) == 1 and paths is None
kkartik/mu/blame/html/same-fringe.mu.html?h=hlt&id=1a62e61df42bfdf001010700c1e1042c67d62ec2'>^
805d58c6 ^

c0f84b1f ^

































f7c8c3ef ^

c0f84b1f ^





b301e0c0 ^
c0f84b1f ^
b301e0c0 ^

c0f84b1f ^

b301e0c0 ^
c0f84b1f ^


b301e0c0 ^







c0f84b1f ^


b301e0c0 ^
c0f84b1f ^

b301e0c0 ^

c0f84b1f ^
805d58c6 ^




5fe060d5 ^
805d58c6 ^
c0f84b1f ^




b301e0c0 ^
c0f84b1f ^

e82dc626 ^
b301e0c0 ^
c0f84b1f ^
5fe060d5 ^

c0f84b1f ^


b301e0c0 ^
c0f84b1f ^


b301e0c0 ^



c0f84b1f ^



5fe060d5 ^
c0f84b1f ^



b301e0c0 ^
c0f84b1f ^





b301e0c0 ^
c0f84b1f ^









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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153