5 |
5 |
6 """ |
6 """ |
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 QTimer, QProcess, QRegExp, Qt |
10 from PyQt4.QtCore import QTimer, QProcess, QProcessEnvironment, QRegExp, Qt |
11 from PyQt4.QtGui import QWidget, QHeaderView, QDialogButtonBox, QTreeWidgetItem |
11 from PyQt4.QtGui import QWidget, QHeaderView, QDialogButtonBox, QTreeWidgetItem |
12 |
12 |
13 from E5Gui import E5MessageBox |
13 from E5Gui import E5MessageBox |
14 |
14 |
15 from .Ui_SvnPropListDialog import Ui_SvnPropListDialog |
15 from .Ui_SvnPropListDialog import Ui_SvnPropListDialog |
33 |
33 |
34 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
34 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
35 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
35 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
36 |
36 |
37 self.process = QProcess() |
37 self.process = QProcess() |
|
38 env = QProcessEnvironment.systemEnvironment() |
|
39 env.insert("LANG", "C") |
|
40 self.process.setProcessEnvironment(env) |
38 self.vcs = vcs |
41 self.vcs = vcs |
39 |
42 |
40 self.propsList.headerItem().setText(self.propsList.columnCount(), "") |
43 self.propsList.headerItem().setText(self.propsList.columnCount(), "") |
41 self.propsList.header().setSortIndicator(0, Qt.AscendingOrder) |
44 self.propsList.header().setSortIndicator(0, Qt.AscendingOrder) |
42 |
45 |