--- a/Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py Mon Aug 30 20:16:34 2010 +0200 +++ b/Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py Tue Aug 31 12:17:02 2010 +0200 @@ -11,12 +11,12 @@ from PyQt4.QtGui import * from E5Gui.E5Application import e5App +from E5Gui import E5MessageBox import pysvn from .Ui_SvnUrlSelectionDialog import Ui_SvnUrlSelectionDialog - class SvnUrlSelectionDialog(QDialog, Ui_SvnUrlSelectionDialog): """ Class implementing a dialog to enter the URLs for the svn diff command. @@ -47,7 +47,7 @@ reposURL = self.vcs.svnGetReposName(path) if reposURL is None: - QMessageBox.critical(None, + E5MessageBox.critical(self, self.trUtf8("Subversion Error"), self.trUtf8("""The URL of the project repository could not be""" """ retrieved from the working copy. The operation will""" @@ -59,7 +59,7 @@ # determine the base path of the project in the repository rx_base = QRegExp('(.+/)(trunk|tags|branches).*') if not rx_base.exactMatch(reposURL): - QMessageBox.critical(None, + E5MessageBox.critical(self, self.trUtf8("Subversion Error"), self.trUtf8("""The URL of the project repository has an""" """ invalid format. The operation will"""