eric6/WebBrowser/GreaseMonkey/GreaseMonkeyAddScriptDialog.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7781
607a6098cb44
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyAddScriptDialog.py	Sun Apr 12 18:46:08 2020 +0200
+++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyAddScriptDialog.py	Sun Apr 12 19:07:49 2020 +0200
@@ -38,7 +38,7 @@
         self.setupUi(self)
         
         self.iconLabel.setPixmap(
-            UI.PixmapCache.getPixmap("greaseMonkey48.png"))
+            UI.PixmapCache.getPixmap("greaseMonkey48"))
         
         self.__manager = manager
         self.__script = script
@@ -95,7 +95,7 @@
         from WebBrowser.WebBrowserWindow import WebBrowserWindow
         if success and WebBrowserWindow.notificationsEnabled():
             WebBrowserWindow.showNotification(
-                UI.PixmapCache.getPixmap("greaseMonkey48.png"),
+                UI.PixmapCache.getPixmap("greaseMonkey48"),
                 self.tr("GreaseMonkey Script Installation"),
                 msg)
         else:

eric ide

mercurial