Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py

branch
5_4_x
changeset 3301
337e119a3bdf
parent 3160
209a07d7e401
child 3436
5f64b3d02ebf
equal deleted inserted replaced
3296:4833e22c3dc1 3301:337e119a3bdf
567 """<p>This opens a dialog to enter an arbitrary Mercurial""" 567 """<p>This opens a dialog to enter an arbitrary Mercurial"""
568 """ command.</p>""" 568 """ command.</p>"""
569 )) 569 ))
570 self.vcsCommandAct.triggered[()].connect(self._vcsCommand) 570 self.vcsCommandAct.triggered[()].connect(self._vcsCommand)
571 self.actions.append(self.vcsCommandAct) 571 self.actions.append(self.vcsCommandAct)
572
573 self.vcsPropsAct = E5Action(
574 self.trUtf8('Command options'),
575 self.trUtf8('Command &options...'), 0, 0, self,
576 'mercurial_options')
577 self.vcsPropsAct.setStatusTip(self.trUtf8(
578 'Show the Mercurial command options'))
579 self.vcsPropsAct.setWhatsThis(self.trUtf8(
580 """<b>Command options...</b>"""
581 """<p>This shows a dialog to edit the Mercurial command"""
582 """ options.</p>"""
583 ))
584 self.vcsPropsAct.triggered[()].connect(self._vcsCommandOptions)
585 self.actions.append(self.vcsPropsAct)
586 572
587 self.hgConfigAct = E5Action( 573 self.hgConfigAct = E5Action(
588 self.trUtf8('Configure'), 574 self.trUtf8('Configure'),
589 self.trUtf8('Configure...'), 575 self.trUtf8('Configure...'),
590 0, 0, self, 'mercurial_configure') 576 0, 0, self, 'mercurial_configure')
1164 menu.addAction(self.vcsCommandAct) 1150 menu.addAction(self.vcsCommandAct)
1165 menu.addSeparator() 1151 menu.addSeparator()
1166 menu.addMenu(adminMenu) 1152 menu.addMenu(adminMenu)
1167 menu.addMenu(specialsMenu) 1153 menu.addMenu(specialsMenu)
1168 menu.addSeparator() 1154 menu.addSeparator()
1169 menu.addAction(self.vcsPropsAct)
1170 menu.addSeparator()
1171 menu.addAction(self.hgEditUserConfigAct) 1155 menu.addAction(self.hgEditUserConfigAct)
1172 menu.addAction(self.hgConfigAct) 1156 menu.addAction(self.hgConfigAct)
1173 1157
1174 def shutdown(self): 1158 def shutdown(self):
1175 """ 1159 """

eric ide

mercurial