Project/ProjectOthersBrowser.py

changeset 461
34528aaedf1c
parent 253
3ccdf551bde7
child 476
121633976eca
equal deleted inserted replaced
460:6a3899e91d76 461:34528aaedf1c
119 self.multiMenu.addAction(self.trUtf8('Collapse all directories'), 119 self.multiMenu.addAction(self.trUtf8('Collapse all directories'),
120 self._collapseAllDirs) 120 self._collapseAllDirs)
121 self.multiMenu.addSeparator() 121 self.multiMenu.addSeparator()
122 self.multiMenu.addAction(self.trUtf8('Configure...'), self._configure) 122 self.multiMenu.addAction(self.trUtf8('Configure...'), self._configure)
123 123
124 self.connect(self.menu, SIGNAL('aboutToShow()'), 124 self.menu.aboutToShow.connect(self.__showContextMenu)
125 self.__showContextMenu) 125 self.multiMenu.aboutToShow.connect(self.__showContextMenuMulti)
126 self.connect(self.multiMenu, SIGNAL('aboutToShow()'), 126 self.backMenu.aboutToShow.connect(self.__showContextMenuBack)
127 self.__showContextMenuMulti)
128 self.connect(self.backMenu, SIGNAL('aboutToShow()'),
129 self.__showContextMenuBack)
130 self.mainMenu = self.menu 127 self.mainMenu = self.menu
131 128
132 def _contextMenuRequested(self, coord): 129 def _contextMenuRequested(self, coord):
133 """ 130 """
134 Protected slot to show the context menu. 131 Protected slot to show the context menu.

eric ide

mercurial