483 self.hgQueueIdentifyActiveGuardsAct = E5Action( |
483 self.hgQueueIdentifyActiveGuardsAct = E5Action( |
484 self.trUtf8('Identify Active Guards'), |
484 self.trUtf8('Identify Active Guards'), |
485 self.trUtf8('Identify Active Guards...'), |
485 self.trUtf8('Identify Active Guards...'), |
486 0, 0, self, 'mercurial_queues_guards_identify_active') |
486 0, 0, self, 'mercurial_queues_guards_identify_active') |
487 self.hgQueueIdentifyActiveGuardsAct.setStatusTip(self.trUtf8( |
487 self.hgQueueIdentifyActiveGuardsAct.setStatusTip(self.trUtf8( |
488 'Show a list of active guards and affected patches' |
488 'Show a list of active guards' |
489 )) |
489 )) |
490 self.hgQueueIdentifyActiveGuardsAct.setWhatsThis(self.trUtf8( |
490 self.hgQueueIdentifyActiveGuardsAct.setWhatsThis(self.trUtf8( |
491 """<b>Identify Active Guards</b>""" |
491 """<b>Identify Active Guards</b>""" |
492 """<p>This opens a dialog show a list of active guards and the""" |
492 """<p>This opens a dialog showing a list of active guards.</p>""" |
493 """ patches directly affected by them.</p>""" |
|
494 )) |
493 )) |
495 self.hgQueueIdentifyActiveGuardsAct.triggered[()].connect( |
494 self.hgQueueIdentifyActiveGuardsAct.triggered[()].connect( |
496 self.__hgQueueGuardsIdentifyActive) |
495 self.__hgQueueGuardsIdentifyActive) |
497 self.actions.append(self.hgQueueIdentifyActiveGuardsAct) |
496 self.actions.append(self.hgQueueIdentifyActiveGuardsAct) |
498 |
497 |
783 |
782 |
784 def __hgQueueGuardsSetActive(self): |
783 def __hgQueueGuardsSetActive(self): |
785 """ |
784 """ |
786 Private slot used to set the active guards. |
785 Private slot used to set the active guards. |
787 """ |
786 """ |
788 pass |
787 self.vcs.getExtensionObject("mq")\ |
|
788 .hgQueueGuardsSetActive(self.project.getProjectPath()) |
789 |
789 |
790 def __hgQueueGuardsDeactivate(self): |
790 def __hgQueueGuardsDeactivate(self): |
791 """ |
791 """ |
792 Private slot used to deactivate all active guards. |
792 Private slot used to deactivate all active guards. |
793 """ |
793 """ |
794 pass |
794 self.vcs.getExtensionObject("mq")\ |
|
795 .hgQueueGuardsDeactivate(self.project.getProjectPath()) |
795 |
796 |
796 def __hgQueueGuardsIdentifyActive(self): |
797 def __hgQueueGuardsIdentifyActive(self): |
797 """ |
798 """ |
798 Private slot used to list all active guards and their patches. |
799 Private slot used to list all active guards. |
799 """ |
800 """ |
800 pass |
801 self.vcs.getExtensionObject("mq")\ |
|
802 .hgQueueGuardsIdentifyActive(self.project.getProjectPath()) |