diff -r f95dde35d0ab -r 0090cfa83159 eric6/Preferences/ConfigurationPages/NotificationsPage.py --- a/eric6/Preferences/ConfigurationPages/NotificationsPage.py Mon Apr 26 17:33:08 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/NotificationsPage.py Tue Apr 27 17:25:06 2021 +0200 @@ -38,9 +38,9 @@ self.ySpinBox.setMaximum(geom.height()) self.warningIcon.setPixmap( - NotificationFrame.getIcon(NotificationTypes.Warning)) + NotificationFrame.getIcon(NotificationTypes.WARNING)) self.criticalIcon.setPixmap( - NotificationFrame.getIcon(NotificationTypes.Critical)) + NotificationFrame.getIcon(NotificationTypes.CRITICAL)) self.__notification = None self.__firstTime = True @@ -100,7 +100,7 @@ self.__notification = NotificationWidget( parent=self, setPosition=True) self.__notification.showNotification( - NotificationFrame.getIcon(NotificationTypes.Other), + NotificationFrame.getIcon(NotificationTypes.OTHER), self.tr("Visual Selection"), self.tr("Drag the notification window to" " the desired place and release the button."),