Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.3, 2.0, and 2.0.1

stable workbench: add a menu for toggling workbench toolbars

Changeset 37972699916c

Parent 659e7ebc4f28

by Steve Borho

Changes to one file · Browse files at 37972699916c Showing diff from parent 659e7ebc4f28 Diff from another changeset...

 
312
313
314
 
 
 
 
 
 
 
 
315
316
317
 
312
313
314
315
316
317
318
319
320
321
322
323
324
325
@@ -312,6 +312,14 @@
  icon='go-jump', shortcut='Ctrl+T', enabled='repoopen',   toolbar='edit', menu='View', checkable=True,   tooltip=_('Jump to a specific revision')) + newseparator(toolbar='edit', menu='View') + + menu = QMenu(_('Workbench Toolbars'), self) + menu.addAction(self.edittbar.toggleViewAction()) + menu.addAction(self.docktbar.toggleViewAction()) + menu.addAction(self.synctbar.toggleViewAction()) + menu.addAction(self.tasktbar.toggleViewAction()) + self.menuView.addMenu(menu)     newaction(_('Incoming'), self._repofwd('incoming'), icon='incoming',   tooltip=_('Check for incoming changes from default pull target'),