7 Module implementing a dialog to show the output of the svn proplist command process. |
7 Module implementing a dialog to show the output of the svn proplist command process. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt4.QtCore import * |
10 from PyQt4.QtCore import * |
11 from PyQt4.QtGui import * |
11 from PyQt4.QtGui import * |
|
12 |
|
13 from E5Gui import E5MessageBox |
12 |
14 |
13 from .Ui_SvnPropListDialog import Ui_SvnPropListDialog |
15 from .Ui_SvnPropListDialog import Ui_SvnPropListDialog |
14 |
16 |
15 import Preferences |
17 import Preferences |
16 |
18 |
112 self.process.setWorkingDirectory(dname) |
114 self.process.setWorkingDirectory(dname) |
113 |
115 |
114 self.process.start('svn', args) |
116 self.process.start('svn', args) |
115 procStarted = self.process.waitForStarted() |
117 procStarted = self.process.waitForStarted() |
116 if not procStarted: |
118 if not procStarted: |
117 QMessageBox.critical(None, |
119 E5MessageBox.critical(self, |
118 self.trUtf8('Process Generation Error'), |
120 self.trUtf8('Process Generation Error'), |
119 self.trUtf8( |
121 self.trUtf8( |
120 'The process {0} could not be started. ' |
122 'The process {0} could not be started. ' |
121 'Ensure, that it is in the search path.' |
123 'Ensure, that it is in the search path.' |
122 ).format('svn')) |
124 ).format('svn')) |