11 |
11 |
12 from E5Gui.E5Action import E5Action |
12 from E5Gui.E5Action import E5Action |
13 from E5Gui import E5MessageBox |
13 from E5Gui import E5MessageBox |
14 |
14 |
15 from ..HgExtensionProjectHelper import HgExtensionProjectHelper |
15 from ..HgExtensionProjectHelper import HgExtensionProjectHelper |
|
16 |
|
17 import UI.PixmapCache |
16 |
18 |
17 |
19 |
18 class TransplantProjectHelper(HgExtensionProjectHelper): |
20 class TransplantProjectHelper(HgExtensionProjectHelper): |
19 """ |
21 """ |
20 Class implementing the transplant extension project helper. |
22 Class implementing the transplant extension project helper. |
28 def initActions(self): |
30 def initActions(self): |
29 """ |
31 """ |
30 Public method to generate the action objects. |
32 Public method to generate the action objects. |
31 """ |
33 """ |
32 self.hgTransplantAct = E5Action(self.trUtf8('Transplant Changesets'), |
34 self.hgTransplantAct = E5Action(self.trUtf8('Transplant Changesets'), |
|
35 UI.PixmapCache.getIcon("vcsTransplant.png"), |
33 self.trUtf8('Transplant Changesets'), |
36 self.trUtf8('Transplant Changesets'), |
34 0, 0, self, 'mercurial_transplant') |
37 0, 0, self, 'mercurial_transplant') |
35 self.hgTransplantAct.setStatusTip(self.trUtf8( |
38 self.hgTransplantAct.setStatusTip(self.trUtf8( |
36 'Transplant changesets from another branch' |
39 'Transplant changesets from another branch' |
37 )) |
40 )) |