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

reporegistry: AllRepoGroupItem's must be readonly

The name of the "All Repositories" node must not be editable.

Changeset d0b852aa5032

Parent 0f7c73af1c7e

by Adrian Buehlmann

Changes to one file · Browse files at d0b852aa5032 Showing diff from parent 0f7c73af1c7e Diff from another changeset...

 
228
229
230
 
 
 
231
232
233
 
 
 
234
235
236
 
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
@@ -228,9 +228,15 @@
  RepoGroupItem.__init__(self, parent)   self.name = _('All Repositories')   + def setData(self, column, value): + return False +   def menulist(self):   return ['newGroup']   + def flags(self): + return Qt.ItemIsEnabled | Qt.ItemIsSelectable | Qt.ItemIsDropEnabled +   def dump(self, xw):   RepoTreeItem.dump(self, xw)