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

stable workbench: add link to online help

Changeset b20aced93fc0

Parent f26f3d33300a

by Steve Borho

Changes to one file · Browse files at b20aced93fc0 Showing diff from parent f26f3d33300a Diff from another changeset...

 
283
284
285
286
 
 
287
288
289
 
596
597
598
599
 
600
601
602
603
604
605
 
 
 
 
606
607
608
 
283
284
285
 
286
287
288
289
290
 
597
598
599
 
600
601
602
603
604
605
606
607
608
609
610
611
612
613
@@ -283,7 +283,8 @@
  icon='utilities-terminal', enabled='repoopen',   menu='repository')   - newaction(_("About"), self.on_about, menu='help', icon='help-browser') + newaction(_("Help"), self.onHelp, menu='help', icon='help-browser') + newaction(_("About"), self.onAbout, menu='help', icon='thg-logo')     newseparator(toolbar='edit')   self.actionBack = \ @@ -596,13 +597,17 @@
  if rw.repo.root == root:   yield rw   - def on_about(self, *args): + def onAbout(self, *args):   """ Display about dialog """   from tortoisehg.hgqt.about import AboutDialog   ad = AboutDialog(self)   ad.finished.connect(ad.deleteLater)   ad.exec_()   + def onHelp(self, *args): + """ Display online help """ + qtlib.openhelpcontents('workbench.html') +   def storeSettings(self):   s = QSettings()   wb = "Workbench/"