--- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingManager.py Mon Jan 04 16:39:09 2021 +0100 +++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingManager.py Mon Jan 04 16:39:37 2021 +0100 @@ -149,10 +149,6 @@ """ Private method to show some message in a notification widget. - If desktop notifications have been disabled, the message will - be shown in the status bar of the main window (either the main - web browser window or the eric main window) - @param message message to be shown @type str @param timeout amount of time in seconds the message should be shown @@ -161,17 +157,12 @@ """ from WebBrowser.WebBrowserWindow import WebBrowserWindow - if WebBrowserWindow.notificationsEnabled(): - WebBrowserWindow.showNotification( - UI.PixmapCache.getPixmap("safeBrowsing48"), - self.tr("Google Safe Browsing"), - message, - timeout=timeout, - ) - else: - statusBar = WebBrowserWindow.globalStatusBar() - if statusBar is not None: - statusBar.showMessage(message, timeout * 1000) + WebBrowserWindow.showNotification( + UI.PixmapCache.getPixmap("safeBrowsing48"), + self.tr("Google Safe Browsing"), + message, + timeout=timeout, + ) def __setAutoUpdateThreatLists(self): """