diff -r d32319ede131 -r 567f2ec958c3 eric6/Project/ProjectInterfacesBrowser.py --- a/eric6/Project/ProjectInterfacesBrowser.py Mon Jan 04 16:39:09 2021 +0100 +++ b/eric6/Project/ProjectInterfacesBrowser.py Mon Jan 04 16:39:37 2021 +0100 @@ -524,33 +524,19 @@ fileList += Utilities.direntries(directory, True, "*.py") for file in fileList: self.project.appendFile(file) - if not self.noDialog and not ui.notificationsEnabled(): - E5MessageBox.information( - self, - self.tr("Interface Compilation"), - self.tr( - "The compilation of the interface file was" - " successful.")) - else: - ui.showNotification( - UI.PixmapCache.getPixmap("corba48"), - self.tr("Interface Compilation"), - self.tr( - "The compilation of the interface file was" - " successful.")) + ui.showNotification( + UI.PixmapCache.getPixmap("corba48"), + self.tr("Interface Compilation"), + self.tr( + "The compilation of the interface file was" + " successful.")) else: - if not self.noDialog: - E5MessageBox.information( - self, - self.tr("Interface Compilation"), - self.tr( - "The compilation of the interface file failed.")) - else: - ui.showNotification( - UI.PixmapCache.getPixmap("corba48"), - self.tr("Interface Compilation"), - self.tr( - "The compilation of the interface file failed.")) + ui.showNotification( + UI.PixmapCache.getPixmap("corba48"), + self.tr("Interface Compilation"), + self.tr( + "The compilation of the interface file failed."), + timeout=0) self.compileProc = None def __compileIDL(self, fn, noDialog=False, progress=None):