--- a/Plugins/VcsPlugins/vcsMercurial/hg.py Mon Aug 30 20:16:34 2010 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/hg.py Tue Aug 31 12:17:02 2010 +0200 @@ -15,6 +15,7 @@ from PyQt4.QtGui import QMessageBox, QApplication, QDialog, QInputDialog, QFileDialog from E5Gui.E5Application import e5App +from E5Gui import E5MessageBox from QScintilla.MiniEditor import MiniEditor @@ -199,7 +200,7 @@ """ success = self.vcsImport(vcsDataDict, project.ppath)[0] if not success: - QMessageBox.critical(None, + E5MessageBox.critical(self.__ui, self.trUtf8("Create project repository"), self.trUtf8("""The project repository could not be created.""")) else: @@ -2046,4 +2047,4 @@ @param interval check interval for the monitor thread in seconds (integer) @return reference to the monitor thread (QThread) """ - return HgStatusMonitorThread(interval, project, self) + return HgStatusMonitorThread(interval, project, self) \ No newline at end of file