Helpviewer/History/HistoryMenu.py

changeset 453
a81097a85889
parent 55
b5c84934de9c
child 454
d28d558f7484
equal deleted inserted replaced
452:0bc58cbb64b2 453:a81097a85889
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 self.connect(act, SIGNAL("triggered()"), 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 self.connect(act, SIGNAL("triggered()"), 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