comparison src/filestates.cpp @ 624:38c84c66ad7a

* Added "show in" to show selected file in explorer
author Sam Izzo <sam@humbug.net>
date Sun, 26 Aug 2012 01:59:53 +1000
parents 533519ebc0cb
children 3c3827eb5106
comparison
equal deleted inserted replaced
623:0ef4ed400ced 624:38c84c66ad7a
159 Activities a; 159 Activities a;
160 160
161 switch (s) { 161 switch (s) {
162 162
163 case Modified: 163 case Modified:
164 a << Annotate << Diff << Commit << Revert << Rename << Copy << Remove; 164 a << Annotate << Diff << Commit << Revert << Rename << Copy << Remove << ShowIn;
165 break; 165 break;
166 166
167 case Added: 167 case Added:
168 a << Commit << Revert << Rename << Copy << Remove; 168 a << Commit << Revert << Rename << Copy << Remove << ShowIn;
169 break; 169 break;
170 170
171 case Removed: 171 case Removed:
172 a << Commit << Revert << Add; 172 a << Commit << Revert << Add;
173 break; 173 break;
174 174
175 case InConflict: 175 case InConflict:
176 a << Annotate << Diff << RedoMerge << MarkResolved << Revert; 176 a << Annotate << Diff << RedoMerge << MarkResolved << Revert << ShowIn;
177 break; 177 break;
178 178
179 case Missing: 179 case Missing:
180 a << Revert << Remove; 180 a << Revert << Remove;
181 break; 181 break;
183 case Unknown: 183 case Unknown:
184 a << Add << Ignore; 184 a << Add << Ignore;
185 break; 185 break;
186 186
187 case Clean: 187 case Clean:
188 a << Annotate << Rename << Copy << Remove; 188 a << Annotate << Rename << Copy << Remove << ShowIn;
189 break; 189 break;
190 190
191 case Ignored: 191 case Ignored:
192 a << UnIgnore; 192 a << UnIgnore << ShowIn;
193 break; 193 break;
194 } 194 }
195 195
196 return a; 196 return a;
197 } 197 }