VCS/ProjectHelper.py

changeset 537
72b32daeb8d6
parent 536
6d8d39753c82
child 538
7f1a56e80124
--- a/VCS/ProjectHelper.py	Mon Aug 30 20:16:34 2010 +0200
+++ b/VCS/ProjectHelper.py	Tue Aug 31 12:17:02 2010 +0200
@@ -14,13 +14,12 @@
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from E5Gui.E5Application import e5App
-
 from .CommandOptionsDialog import vcsCommandOptionsDialog
 from .RepositoryInfoDialog import VcsRepositoryInfoDialog
 
 from E5Gui.E5Action import E5Action
 from E5Gui import E5MessageBox
+from E5Gui.E5Application import e5App
 
 import Preferences
 
@@ -173,7 +172,7 @@
                     try:
                         os.makedirs(projectdir)
                     except EnvironmentError:
-                        QMessageBox.critical(self.parent(),
+                        E5MessageBox.critical(self.parent(),
                             self.trUtf8("Create project directory"),
                             self.trUtf8("<p>The project directory <b>{0}</b> could not"
                                 " be created.</p>").format(projectdir))
@@ -255,7 +254,7 @@
                                     if res == QMessageBox.Yes:
                                         self.project.vcs.vcsAdd(self.project.pfile)
                 else:
-                    QMessageBox.critical(self.parent(),
+                    E5MessageBox.critical(self.parent(),
                         self.trUtf8("New project from repository"),
                         self.trUtf8("""The project could not be retrieved from"""
                             """ the repository."""))
@@ -470,4 +469,4 @@
         """
         info = self.vcs.vcsRepositoryInfos(self.project.ppath)
         dlg = VcsRepositoryInfoDialog(None, info)
-        dlg.exec_()
+        dlg.exec_()
\ No newline at end of file

eric ide

mercurial