eric6/WebBrowser/TabManager/TabManagerWidget.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7759
51aa6c6b66f7
--- a/eric6/WebBrowser/TabManager/TabManagerWidget.py	Sun Apr 12 18:46:08 2020 +0200
+++ b/eric6/WebBrowser/TabManager/TabManagerWidget.py	Sun Apr 12 19:07:49 2020 +0200
@@ -289,7 +289,7 @@
                 if not browser.isLoading():
                     tabItem.setIcon(0, browser.icon())
                 else:
-                    tabItem.setIcon(0, UI.PixmapCache.getIcon("loading.png"))
+                    tabItem.setIcon(0, UI.PixmapCache.getIcon("loading"))
                 tabItem.setText(0, browser.title())
                 tabItem.setToolTip(0, browser.title())
                 
@@ -333,7 +333,7 @@
                 if not browser.isLoading():
                     tabItem.setIcon(0, browser.icon())
                 else:
-                    tabItem.setIcon(0, UI.PixmapCache.getIcon("loading.png"))
+                    tabItem.setIcon(0, UI.PixmapCache.getIcon("loading"))
                 tabItem.setText(0, browser.title())
                 tabItem.setToolTip(0, browser.title())
                 
@@ -527,12 +527,12 @@
         
         if self.__isBrowserSelected():
             act = menu.addAction(
-                UI.PixmapCache.getIcon("bookmark22.png"),
+                UI.PixmapCache.getIcon("bookmark22"),
                 self.tr("&Bookmark checked tabs"))
             act.setObjectName("bookmarkSelection")
             act.triggered.connect(lambda: self.__processActions(act))
             act = menu.addAction(
-                UI.PixmapCache.getIcon("tabClose.png"),
+                UI.PixmapCache.getIcon("tabClose"),
                 self.tr("&Close checked tabs"))
             act.setObjectName("closeSelection")
             act.triggered.connect(lambda: self.__processActions(act))
@@ -564,7 +564,7 @@
         """
         icon = E5ClickableLabel()
         icon.setPixmap(
-            UI.PixmapCache.getPixmap("tabManager.png").scaled(16, 16))
+            UI.PixmapCache.getPixmap("tabManager").scaled(16, 16))
         icon.setToolTip(self.tr("Show Tab Manager"))
         icon.clicked.connect(lambda: self.raiseTabManager(icon))
         

eric ide

mercurial