src/eric7/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/ProjectHelper.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/ProjectHelper.py
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/ProjectHelper.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/ProjectHelper.py	Tue Oct 18 16:06:21 2022 +0200
@@ -9,11 +9,11 @@
 
 from PyQt6.QtWidgets import QMenu
 
-from EricGui.EricAction import EricAction
+from eric7.EricGui.EricAction import EricAction
 
 from ..HgExtensionProjectHelper import HgExtensionProjectHelper
 
-import UI.PixmapCache
+from eric7.EricGui import EricPixmapCache
 
 
 class CloseheadProjectHelper(HgExtensionProjectHelper):
@@ -33,7 +33,7 @@
         """
         self.hgCloseheadAct = EricAction(
             self.tr("Close Heads"),
-            UI.PixmapCache.getIcon("closehead"),
+            EricPixmapCache.getIcon("closehead"),
             self.tr("Close Heads"),
             0,
             0,
@@ -62,7 +62,7 @@
         @return populated menu (QMenu)
         """
         menu = QMenu(self.menuTitle(), mainMenu)
-        menu.setIcon(UI.PixmapCache.getIcon("closehead"))
+        menu.setIcon(EricPixmapCache.getIcon("closehead"))
         menu.setTearOffEnabled(True)
 
         menu.addAction(self.hgCloseheadAct)

eric ide

mercurial