src/eric7/Preferences/ConfigurationPages/NotificationsPage.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
--- a/src/eric7/Preferences/ConfigurationPages/NotificationsPage.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/Preferences/ConfigurationPages/NotificationsPage.py	Tue Oct 18 16:06:21 2022 +0200
@@ -14,9 +14,9 @@
 from .ConfigurationPageBase import ConfigurationPageBase
 from .Ui_NotificationsPage import Ui_NotificationsPage
 
-import Preferences
+from eric7 import Preferences
 
-from UI.NotificationWidget import NotificationFrame, NotificationTypes
+from eric7.UI.NotificationWidget import NotificationFrame, NotificationTypes
 
 
 class NotificationsPage(ConfigurationPageBase, Ui_NotificationsPage):
@@ -102,7 +102,7 @@
         @param checked state of the button (boolean)
         """
         if checked:
-            from UI.NotificationWidget import NotificationWidget
+            from eric7.UI.NotificationWidget import NotificationWidget
 
             self.__notification = NotificationWidget(parent=self, setPosition=True)
             self.__notification.showNotification(

eric ide

mercurial