src/eric7/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationScriptInfoDialog.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
--- a/src/eric7/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationScriptInfoDialog.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationScriptInfoDialog.py	Tue Oct 18 16:06:21 2022 +0200
@@ -16,7 +16,7 @@
 
 from ..GreaseMonkeyScript import GreaseMonkeyScript
 
-import UI.PixmapCache
+from eric7.EricGui import EricPixmapCache
 
 
 class GreaseMonkeyConfigurationScriptInfoDialog(
@@ -36,7 +36,7 @@
         super().__init__(parent)
         self.setupUi(self)
 
-        self.iconLabel.setPixmap(UI.PixmapCache.getPixmap("greaseMonkey48"))
+        self.iconLabel.setPixmap(EricPixmapCache.getPixmap("greaseMonkey48"))
 
         self.__scriptFileName = script.fileName()
 
@@ -58,7 +58,7 @@
         """
         Private slot to show an editor window with the script source code.
         """
-        from QScintilla.MiniEditor import MiniEditor
+        from eric7.QScintilla.MiniEditor import MiniEditor
 
         editor = MiniEditor(self.__scriptFileName, "JavaScript", self)
         editor.show()

eric ide

mercurial