373 self.__mostVisitedMenu.newWindow.connect(self.newWindow) |
373 self.__mostVisitedMenu.newWindow.connect(self.newWindow) |
374 self.__mostVisitedMenu.newPrivateWindow.connect( |
374 self.__mostVisitedMenu.newPrivateWindow.connect( |
375 self.newPrivateWindow) |
375 self.newPrivateWindow) |
376 self.addMenu(self.__mostVisitedMenu) |
376 self.addMenu(self.__mostVisitedMenu) |
377 act = self.addMenu(self.__closedTabsMenu) |
377 act = self.addMenu(self.__closedTabsMenu) |
378 act.setIcon(UI.PixmapCache.getIcon("trash.png")) |
378 act.setIcon(UI.PixmapCache.getIcon("trash")) |
379 act.setEnabled(self.__tabWidget.canRestoreClosedTab()) |
379 act.setEnabled(self.__tabWidget.canRestoreClosedTab()) |
380 self.addSeparator() |
380 self.addSeparator() |
381 |
381 |
382 act = self.addAction(UI.PixmapCache.getIcon("history.png"), |
382 act = self.addAction(UI.PixmapCache.getIcon("history"), |
383 self.tr("Show All History...")) |
383 self.tr("Show All History...")) |
384 act.triggered.connect(self.showHistoryDialog) |
384 act.triggered.connect(self.showHistoryDialog) |
385 act = self.addAction(UI.PixmapCache.getIcon("historyClear.png"), |
385 act = self.addAction(UI.PixmapCache.getIcon("historyClear"), |
386 self.tr("Clear History...")) |
386 self.tr("Clear History...")) |
387 act.triggered.connect(self.__clearHistoryDialog) |
387 act.triggered.connect(self.__clearHistoryDialog) |
388 |
388 |
389 def setInitialActions(self, actions): |
389 def setInitialActions(self, actions): |
390 """ |
390 """ |