28 |
28 |
29 def initActions(self): |
29 def initActions(self): |
30 """ |
30 """ |
31 Public method to generate the action objects. |
31 Public method to generate the action objects. |
32 """ |
32 """ |
33 self.hgCloseheadAct = E5Action( |
33 self.hgCloseheadAct = EricAction( |
34 self.tr('Close Heads'), |
34 self.tr('Close Heads'), |
35 UI.PixmapCache.getIcon("closehead"), |
35 UI.PixmapCache.getIcon("closehead"), |
36 self.tr('Close Heads'), |
36 self.tr('Close Heads'), |
37 0, 0, self, 'mercurial_closehead') |
37 0, 0, self, 'mercurial_closehead') |
38 self.hgCloseheadAct.setStatusTip(self.tr( |
38 self.hgCloseheadAct.setStatusTip(self.tr( |