Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.1, 2.0.2, and 2.0.3

stable manifestdialog: port menu icons from filelistview

Changeset 31be3f12d53b

Parent 3c92ef0776dc

by Yuya Nishihara

Changes to one file · Browse files at 31be3f12d53b Showing diff from parent 3c92ef0776dc Diff from another changeset...

 
193
194
195
196
 
197
198
 
199
200
 
201
202
 
203
204
205
 
206
207
 
208
209
 
210
211
212
213
214
215
 
216
217
218
 
193
194
195
 
196
197
 
198
199
 
200
201
 
202
203
204
 
205
206
 
207
208
 
209
210
211
212
213
214
 
215
216
217
218
@@ -193,26 +193,26 @@
    self._actions = {}   for name, desc, icon, key, tip, cb in [ - ('navigate', _('File history'), None, 'Shift+Return', + ('navigate', _('File history'), 'hg-log', 'Shift+Return',   _('Show the history of the selected file'), self.navigate), - ('diffnavigate', _('Compare file revisions'), None, None, + ('diffnavigate', _('Compare file revisions'), 'compare-files', None,   _('Compare revisions of the selected file'), self.diffNavigate), - ('diff', _('Visual Diff'), None, 'Ctrl+D', + ('diff', _('Visual Diff'), 'visualdiff', 'Ctrl+D',   _('View file changes in external diff tool'), self.vdiff), - ('ldiff', _('Visual Diff to Local'), None, 'Shift+Ctrl+D', + ('ldiff', _('Visual Diff to Local'), 'ldiff', 'Shift+Ctrl+D',   _('View changes to current in external diff tool'),   self.vdifflocal), - ('edit', _('View at Revision'), None, 'Alt+Ctrl+E', + ('edit', _('View at Revision'), 'view-at-revision', 'Alt+Ctrl+E',   _('View file as it appeared at this revision'), self.editfile), - ('ledit', _('Edit Local'), None, 'Shift+Ctrl+E', + ('ledit', _('Edit Local'), 'edit-file', 'Shift+Ctrl+E',   _('Edit current file in working copy'), self.editlocal), - ('revert', _('Revert to Revision'), None, 'Alt+Ctrl+T', + ('revert', _('Revert to Revision'), 'hg-revert', 'Alt+Ctrl+T',   _('Revert file(s) to contents at this revision'),   self.revertfile),   ]:   act = QAction(desc, self)   if icon: - act.setIcon(geticon(icon)) + act.setIcon(qtlib.getmenuicon(icon))   if key:   act.setShortcut(key)   if tip: