4979 UI.PixmapCache.getIcon("splitHorizontal.png")) |
4979 UI.PixmapCache.getIcon("splitHorizontal.png")) |
4980 else: |
4980 else: |
4981 self.menuActs["NewSplit"].setIcon( |
4981 self.menuActs["NewSplit"].setIcon( |
4982 UI.PixmapCache.getIcon("splitVertical.png")) |
4982 UI.PixmapCache.getIcon("splitVertical.png")) |
4983 |
4983 |
|
4984 self.menuActs["Tools"].setEnabled(not self.toolsMenu.isEmpty()) |
|
4985 |
4984 self.showMenu.emit("Main", self.menu, self) |
4986 self.showMenu.emit("Main", self.menu, self) |
4985 |
4987 |
4986 def __showContextMenuAutocompletion(self): |
4988 def __showContextMenuAutocompletion(self): |
4987 """ |
4989 """ |
4988 Private slot called before the autocompletion menu is shown. |
4990 Private slot called before the autocompletion menu is shown. |