Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

reporegistry: try using the label "Synchronize" instead of "Paths"

for RepoPathsItem and remove the icon

Changeset 2d0c0ddca858

Parent f6741e6d7453

by Adrian Buehlmann

Changes to one file · Browse files at 2d0c0ddca858 Showing diff from parent f6741e6d7453 Diff from another changeset...

 
232
233
234
235
236
237
238
239
240
241
242
 
 
243
244
245
 
232
233
234
 
 
 
 
 
 
 
 
235
236
237
238
239
@@ -232,14 +232,8 @@
  RepoTreeItem.__init__(self, model, parent)     def data(self, column, role): - if role == Qt.DecorationRole: - if column == 0: - s = QtGui.QApplication.style() - ico = s.standardIcon(QtGui.QStyle.SP_DirIcon) - return QVariant(ico) - return QVariant() - if column == 0: - return QVariant(_('Paths')) + if role == Qt.DisplayRole and column == 0: + return QVariant(_('Synchronize'))   return QVariant()     def setData(self, column, value):