Added a little bit of eye candy to the web browser.

Thu, 16 Aug 2012 19:32:33 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 16 Aug 2012 19:32:33 +0200
changeset 2006
1056be73e934
parent 2005
6867cf32df67
child 2007
3fec6ace8af7

Added a little bit of eye candy to the web browser.

Helpviewer/HelpTabWidget.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/HelpTabWidget.py	Mon Aug 13 20:01:04 2012 +0200
+++ b/Helpviewer/HelpTabWidget.py	Thu Aug 16 19:32:33 2012 +0200
@@ -173,21 +173,20 @@
         self.__tabContextMenu.addAction(UI.PixmapCache.getIcon("reload.png"),
             self.trUtf8('Reload All'), self.reloadAllBrowsers)
         self.__tabContextMenu.addSeparator()
-        self.__tabContextMenu.addAction(self.trUtf8('Bookmark All Tabs'),
-            self.__mainWindow.bookmarkAll)
+        self.__tabContextMenu.addAction(UI.PixmapCache.getIcon("addBookmark.png"),
+            self.trUtf8('Bookmark All Tabs'), self.__mainWindow.bookmarkAll)
         
         self.__tabBackContextMenu = QMenu(self)
         self.__tabBackContextMenu.addAction(self.trUtf8('Close All'),
             self.closeAllBrowsers)
         self.__tabBackContextMenu.addAction(UI.PixmapCache.getIcon("reload.png"),
             self.trUtf8('Reload All'), self.reloadAllBrowsers)
-        self.__tabBackContextMenu.addAction(self.trUtf8('Bookmark All Tabs'),
-            self.__mainWindow.bookmarkAll)
+        self.__tabBackContextMenu.addAction(UI.PixmapCache.getIcon("addBookmark.png"),
+            self.trUtf8('Bookmark All Tabs'), self.__mainWindow.bookmarkAll)
         self.__tabBackContextMenu.addSeparator()
         self.__restoreClosedTabAct = self.__tabBackContextMenu.addAction(
             UI.PixmapCache.getIcon("trash.png"),
-            self.trUtf8('Restore Closed Tab'),
-            self.restoreClosedTab)
+            self.trUtf8('Restore Closed Tab'), self.restoreClosedTab)
         self.__restoreClosedTabAct.setEnabled(False)
         self.__restoreClosedTabAct.setData(0)
     

eric ide

mercurial