Changeset f983ec33f4a5…
Parent 326f9e7cf1ea…
by
Changes to one file · Browse files at f983ec33f4a5 Showing diff from parent 326f9e7cf1ea Diff from another changeset...
@@ -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):
|
Loading...