Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3025
67064c71df21
child 3145
a9de05d4a22f
equal deleted inserted replaced
3057:10516539f238 3058:0a02c433f52d
87 87
88 def __resort(self): 88 def __resort(self):
89 """ 89 """
90 Private method to resort the tree. 90 Private method to resort the tree.
91 """ 91 """
92 self.repoTree.sortItems(self.repoTree.sortColumn(), 92 self.repoTree.sortItems(
93 self.repoTree.sortColumn(),
93 self.repoTree.header().sortIndicatorOrder()) 94 self.repoTree.header().sortIndicatorOrder())
94 95
95 def __resizeColumns(self): 96 def __resizeColumns(self):
96 """ 97 """
97 Private method to resize the tree columns. 98 Private method to resize the tree columns.
185 'replace') 186 'replace')
186 self.errors.insertPlainText(error) 187 self.errors.insertPlainText(error)
187 self.errors.ensureCursorVisible() 188 self.errors.ensureCursorVisible()
188 else: 189 else:
189 QApplication.restoreOverrideCursor() 190 QApplication.restoreOverrideCursor()
190 E5MessageBox.critical(self, 191 E5MessageBox.critical(
192 self,
191 self.trUtf8('Process Generation Error'), 193 self.trUtf8('Process Generation Error'),
192 self.trUtf8( 194 self.trUtf8(
193 'The process {0} could not be started. ' 195 'The process {0} could not be started. '
194 'Ensure, that it is in the search path.' 196 'Ensure, that it is in the search path.'
195 ).format('svn')) 197 ).format('svn'))
257 procStarted = self.process.waitForStarted(5000) 259 procStarted = self.process.waitForStarted(5000)
258 if not procStarted: 260 if not procStarted:
259 self.__finish() 261 self.__finish()
260 self.inputGroup.setEnabled(False) 262 self.inputGroup.setEnabled(False)
261 self.inputGroup.hide() 263 self.inputGroup.hide()
262 E5MessageBox.critical(self, 264 E5MessageBox.critical(
265 self,
263 self.trUtf8('Process Generation Error'), 266 self.trUtf8('Process Generation Error'),
264 self.trUtf8( 267 self.trUtf8(
265 'The process {0} could not be started. ' 268 'The process {0} could not be started. '
266 'Ensure, that it is in the search path.' 269 'Ensure, that it is in the search path.'
267 ).format('svn')) 270 ).format('svn'))

eric ide

mercurial