Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py

changeset 3302
e92f0dd51979
parent 3290
dbb53746813f
child 3310
a2032ed66aec
equal deleted inserted replaced
3300:734353e7d679 3302:e92f0dd51979
569 """<p>This opens a dialog to enter an arbitrary Mercurial""" 569 """<p>This opens a dialog to enter an arbitrary Mercurial"""
570 """ command.</p>""" 570 """ command.</p>"""
571 )) 571 ))
572 self.vcsCommandAct.triggered[()].connect(self._vcsCommand) 572 self.vcsCommandAct.triggered[()].connect(self._vcsCommand)
573 self.actions.append(self.vcsCommandAct) 573 self.actions.append(self.vcsCommandAct)
574
575 self.vcsPropsAct = E5Action(
576 self.tr('Command options'),
577 self.tr('Command &options...'), 0, 0, self,
578 'mercurial_options')
579 self.vcsPropsAct.setStatusTip(self.tr(
580 'Show the Mercurial command options'))
581 self.vcsPropsAct.setWhatsThis(self.tr(
582 """<b>Command options...</b>"""
583 """<p>This shows a dialog to edit the Mercurial command"""
584 """ options.</p>"""
585 ))
586 self.vcsPropsAct.triggered[()].connect(self._vcsCommandOptions)
587 self.actions.append(self.vcsPropsAct)
588 574
589 self.hgConfigAct = E5Action( 575 self.hgConfigAct = E5Action(
590 self.tr('Configure'), 576 self.tr('Configure'),
591 self.tr('Configure...'), 577 self.tr('Configure...'),
592 0, 0, self, 'mercurial_configure') 578 0, 0, self, 'mercurial_configure')
1166 menu.addAction(self.vcsCommandAct) 1152 menu.addAction(self.vcsCommandAct)
1167 menu.addSeparator() 1153 menu.addSeparator()
1168 menu.addMenu(adminMenu) 1154 menu.addMenu(adminMenu)
1169 menu.addMenu(specialsMenu) 1155 menu.addMenu(specialsMenu)
1170 menu.addSeparator() 1156 menu.addSeparator()
1171 menu.addAction(self.vcsPropsAct)
1172 menu.addSeparator()
1173 menu.addAction(self.hgEditUserConfigAct) 1157 menu.addAction(self.hgEditUserConfigAct)
1174 menu.addAction(self.hgConfigAct) 1158 menu.addAction(self.hgConfigAct)
1175 1159
1176 def showMenu(self): 1160 def showMenu(self):
1177 """ 1161 """

eric ide

mercurial