Helpviewer/History/HistoryMenu.py

changeset 3345
071afe8be2a1
parent 3201
0f115f6db6cb
child 3484
645c12de6b0c
equal deleted inserted replaced
3343:f7a6d271bb40 3345:071afe8be2a1
341 act.setEnabled(self.__tabWidget.canRestoreClosedTab()) 341 act.setEnabled(self.__tabWidget.canRestoreClosedTab())
342 self.addSeparator() 342 self.addSeparator()
343 343
344 act = self.addAction(UI.PixmapCache.getIcon("history.png"), 344 act = self.addAction(UI.PixmapCache.getIcon("history.png"),
345 self.tr("Show All History...")) 345 self.tr("Show All History..."))
346 act.triggered[()].connect(self.__showHistoryDialog) 346 act.triggered.connect(self.__showHistoryDialog)
347 act = self.addAction(UI.PixmapCache.getIcon("historyClear.png"), 347 act = self.addAction(UI.PixmapCache.getIcon("historyClear.png"),
348 self.tr("Clear History...")) 348 self.tr("Clear History..."))
349 act.triggered[()].connect(self.__clearHistoryDialog) 349 act.triggered.connect(self.__clearHistoryDialog)
350 350
351 def setInitialActions(self, actions): 351 def setInitialActions(self, actions):
352 """ 352 """
353 Public method to set the list of actions that should appear first in 353 Public method to set the list of actions that should appear first in
354 the menu. 354 the menu.

eric ide

mercurial