Commit a96dd39c authored by Steve Borho's avatar Steve Borho
Browse files

workbench: add task tab actions to main toolbar

parent f3b6301f950d
......@@ -116,6 +116,8 @@ class Workbench(QMainWindow):
self.addToolBar(self.docktbar)
self.synctbar = QToolBar(_('Sync Toolbar'), objectName='synctbar')
self.addToolBar(self.synctbar)
self.tasktbar = QToolBar(_('Task Toolbar'), objectName='taskbar')
self.addToolBar(self.tasktbar)
self.mqtbar = QToolBar(_("MQ Toolbar"), objectName='mqtbar')
self.addToolBar(self.mqtbar)
......@@ -222,6 +224,7 @@ class Workbench(QMainWindow):
a = newaction(label, icon=icon, checkable=True, data=index,
enabled='repoopen', menu='view')
self.actionGroupTaskView.addAction(a)
self.tasktbar.addAction(a)
return a
# NOTE: Sequence must match that in repowidget.py
addtaskview('log', _("Revision &Details"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment