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

reporegistry: add "New Group" cmenu entry

Changeset f983ec33f4a5

Parent 326f9e7cf1ea

by Adrian Buehlmann

Changes to one file · Browse files at f983ec33f4a5 Showing diff from parent 326f9e7cf1ea Diff from another changeset...

 
80
81
82
 
 
 
83
84
85
 
192
193
194
195
 
 
 
196
197
198
 
220
221
222
 
 
 
223
224
225
 
80
81
82
83
84
85
86
87
88
 
195
196
197
 
198
199
200
201
202
203
 
225
226
227
228
229
230
231
232
233
@@ -80,6 +80,9 @@
  return QVariant(self.name)   return QVariant()   + def menulist(self): + return ['newGroup'] +    class RepoTreeModel(QtCore.QAbstractItemModel):   def __init__(self, parent=None): @@ -192,7 +195,9 @@
    def _action_defs(self):   a = [("open", _("Open"), None, - _("Opens the repository in a new tab"), None, self.open) + _("Opens the repository in a new tab"), None, self.open), + ("newGroup", _("New Group"), None, + _("Create a new group"), None, self.newGroup),   ]   return a   @@ -220,6 +225,9 @@
  def open(self):   self.parent.openrepo(self.selitem.rootpath())   + def newGroup(self): + pass +    class RepoRegistryView(QWidget):