Helpviewer/History/HistoryMenu.py

changeset 454
d28d558f7484
parent 453
a81097a85889
child 488
4174c2707dba
equal deleted inserted replaced
453:a81097a85889 454:d28d558f7484
267 if len(self.__historyManager.history()) > 0: 267 if len(self.__historyManager.history()) > 0:
268 self.addSeparator() 268 self.addSeparator()
269 269
270 act = self.addAction(UI.PixmapCache.getIcon("history.png"), 270 act = self.addAction(UI.PixmapCache.getIcon("history.png"),
271 self.trUtf8("Show All History...")) 271 self.trUtf8("Show All History..."))
272 act.triggered.connect(self.__showHistoryDialog) 272 act.triggered[()].connect(self.__showHistoryDialog)
273 act = self.addAction(UI.PixmapCache.getIcon("historyClear.png"), 273 act = self.addAction(UI.PixmapCache.getIcon("historyClear.png"),
274 self.trUtf8("Clear History...")) 274 self.trUtf8("Clear History..."))
275 act.triggered.connect(self.__clearHistoryDialog) 275 act.triggered[()].connect(self.__clearHistoryDialog)
276 276
277 def setInitialActions(self, actions): 277 def setInitialActions(self, actions):
278 """ 278 """
279 Public method to set the list of actions that should appear first in the menu. 279 Public method to set the list of actions that should appear first in the menu.
280 280

eric ide

mercurial