Steve Borho  committed b741f0f

workbench: add help menu link to explorer help

  • Participants
  • Parent commits 56df1b3
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/

         newaction(_("Help"), self.onHelp, menu='help', icon='help-browser')
+        newaction(_("Explorer Help"), self.onHelpExplorer, menu='help')
         visiblereadme = 'repoopen'
         if  self.ui.config('tortoisehg', 'readme', None):
             visiblereadme = True
         """ Display online help """
+    def onHelpExplorer(self, *args):
+        """ Display online help for shell extension """
+        qtlib.openhelpcontents('explorer.html')
     def onReadme(self, *args):
         """ Display the README file or URL for the current repo, or the global README if no repo is open"""
         readme = None