--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgBookmarksListDialog.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgBookmarksListDialog.py Tue Oct 18 16:06:21 2022 +0200 @@ -18,12 +18,12 @@ QInputDialog, ) -from EricWidgets.EricApplication import ericApp -from EricWidgets import EricMessageBox +from eric7.EricWidgets.EricApplication import ericApp +from eric7.EricWidgets import EricMessageBox from .Ui_HgBookmarksListDialog import Ui_HgBookmarksListDialog -import UI.PixmapCache +from eric7.EricGui import EricPixmapCache class HgBookmarksListDialog(QDialog, Ui_HgBookmarksListDialog): @@ -253,44 +253,44 @@ if itm is not None and self.__bookmarksDefined: menu = QMenu(self.bookmarksList) menu.addAction( - UI.PixmapCache.getIcon("vcsSwitch"), + EricPixmapCache.getIcon("vcsSwitch"), self.tr("Switch to"), self.__switchTo, ) menu.addSeparator() menu.addAction( - UI.PixmapCache.getIcon("deleteBookmark"), + EricPixmapCache.getIcon("deleteBookmark"), self.tr("Delete"), self.__deleteBookmark, ) menu.addAction( - UI.PixmapCache.getIcon("renameBookmark"), + EricPixmapCache.getIcon("renameBookmark"), self.tr("Rename"), self.__renameBookmark, ) menu.addSeparator() act = menu.addAction( - UI.PixmapCache.getIcon("pullBookmark"), + EricPixmapCache.getIcon("pullBookmark"), self.tr("Pull"), self.__pullBookmark, ) act.setEnabled(self.vcs.canPull()) act = menu.addAction( - UI.PixmapCache.getIcon("pushBookmark"), + EricPixmapCache.getIcon("pushBookmark"), self.tr("Push"), self.__pushBookmark, ) act.setEnabled(self.vcs.canPush()) menu.addSeparator() act = menu.addAction( - UI.PixmapCache.getIcon("pushBookmark"), + EricPixmapCache.getIcon("pushBookmark"), self.tr("Push Current"), self.__pushCurrentBookmark, ) act.setEnabled(self.vcs.canPush()) if self.vcs.version >= (5, 7): act = menu.addAction( - UI.PixmapCache.getIcon("pushBookmark"), + EricPixmapCache.getIcon("pushBookmark"), self.tr("Push All"), self.__pushAllBookmarks, )