--- a/eric7/Plugins/VcsPlugins/vcsMercurial/HgUserConfigDialog.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/Plugins/VcsPlugins/vcsMercurial/HgUserConfigDialog.py Sat May 22 18:51:46 2021 +0200 @@ -14,8 +14,8 @@ from PyQt6.QtCore import pyqtSlot, Qt, QEvent from PyQt6.QtWidgets import QDialog, QTreeWidgetItem -from E5Gui.E5PathPicker import E5PathPickerModes -from E5Gui import E5MessageBox +from E5Gui.EricPathPicker import EricPathPickerModes +from E5Gui import EricMessageBox import Globals @@ -56,7 +56,7 @@ "tls1.2": self.tr("TLS 1.2"), } - self.lfUserCachePicker.setMode(E5PathPickerModes.DIRECTORY_MODE) + self.lfUserCachePicker.setMode(EricPathPickerModes.DIRECTORY_MODE) if Globals.isLinuxPlatform(): self.lfUserCachePicker.setDefaultDirectory(os.path.expanduser( "~/.cache/largefiles")) @@ -537,7 +537,7 @@ itm = self.fingerprintsList.currentItem() if itm is not None: host = itm.text(0) - yes = E5MessageBox.yesNo( + yes = EricMessageBox.yesNo( self, self.tr("Delete Host Fingerprint"), self.tr("""<p>Shall the fingerprint for host <b>{0}</b>""" @@ -649,7 +649,7 @@ itm = self.protocolsList.currentItem() if itm is not None: host = itm.text(0) - yes = E5MessageBox.yesNo( + yes = EricMessageBox.yesNo( self, self.tr("Delete Host Minimum Protocol"), self.tr("""<p>Shall the minimum protocol entry for host""" @@ -707,12 +707,12 @@ from QScintilla.MiniEditor import MiniEditor cfgFile = getConfigPath() - yes = E5MessageBox.yesNo( + yes = EricMessageBox.yesNo( self, self.tr("Edit User Configuration"), self.tr("""You will loose all changes made in this dialog.""" """ Shall the data be saved first?"""), - icon=E5MessageBox.Warning, + icon=EricMessageBox.Warning, yesDefault=True) if yes: self.writeUserConfig()