--- a/src/eric7/WebBrowser/Feeds/FeedsDialog.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/WebBrowser/Feeds/FeedsDialog.py Tue Oct 18 16:06:21 2022 +0200 @@ -14,8 +14,8 @@ from .Ui_FeedsDialog import Ui_FeedsDialog -import UI.PixmapCache -from UI.NotificationWidget import NotificationTypes +from eric7.EricGui import EricPixmapCache +from eric7.UI.NotificationWidget import NotificationTypes class FeedsDialog(QDialog, Ui_FeedsDialog): @@ -35,7 +35,7 @@ super().__init__(parent) self.setupUi(self) - self.iconLabel.setPixmap(UI.PixmapCache.getPixmap("rss48")) + self.iconLabel.setPixmap(EricPixmapCache.getPixmap("rss48")) self.__browser = browser @@ -72,18 +72,18 @@ title = button.feed[0] if button.feed[0] else self.__browser.url().host() - from WebBrowser.WebBrowserWindow import WebBrowserWindow + from eric7.WebBrowser.WebBrowserWindow import WebBrowserWindow feedsManager = WebBrowserWindow.feedsManager() if feedsManager.addFeed(urlString, title, self.__browser.icon()): WebBrowserWindow.showNotification( - UI.PixmapCache.getPixmap("rss48"), + EricPixmapCache.getPixmap("rss48"), self.tr("Add RSS Feed"), self.tr("""The feed was added successfully."""), ) else: WebBrowserWindow.showNotification( - UI.PixmapCache.getPixmap("rss48"), + EricPixmapCache.getPixmap("rss48"), self.tr("Add RSS Feed"), self.tr("""The feed was already added before."""), kind=NotificationTypes.WARNING,