diff -r 8a7677a63c8d -r 68ec9c3d4de5 eric7/Project/ProjectOthersBrowser.py --- a/eric7/Project/ProjectOthersBrowser.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/Project/ProjectOthersBrowser.py Sat May 22 18:51:46 2021 +0200 @@ -14,7 +14,7 @@ from PyQt6.QtGui import QDesktopServices from PyQt6.QtWidgets import QDialog, QMenu -from E5Gui import E5MessageBox +from E5Gui import EricMessageBox from .ProjectBrowserModel import ( ProjectBrowserFileItem, ProjectBrowserSimpleDirectoryItem, @@ -270,13 +270,13 @@ if itmList: mimetype = Utilities.MimeTypes.mimeType(itmList[0].fileName()) if mimetype is None: - E5MessageBox.warning( + EricMessageBox.warning( self, self.tr("Show Mime-Type"), self.tr("""The mime type of the file could not be""" """ determined.""")) elif mimetype.split("/")[0] == "text": - E5MessageBox.information( + EricMessageBox.information( self, self.tr("Show Mime-Type"), self.tr("""The file has the mime type <b>{0}</b>.""") @@ -284,13 +284,13 @@ else: textMimeTypesList = Preferences.getUI("TextMimeTypes") if mimetype in textMimeTypesList: - E5MessageBox.information( + EricMessageBox.information( self, self.tr("Show Mime-Type"), self.tr("""The file has the mime type <b>{0}</b>.""") .format(mimetype)) else: - ok = E5MessageBox.yesNo( + ok = EricMessageBox.yesNo( self, self.tr("Show Mime-Type"), self.tr("""The file has the mime type <b>{0}</b>."""