Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

cmdui: cleanup cmdui.Core methods

rename command_finished to threadFinished, since it is only used by in-process
threads. Remove unused command_canceling()

Changeset 6f34e4bb60f1

Parent 0b1aaf7b67a6

by Steve Borho

Changes to one file · Browse files at 6f34e4bb60f1 Showing diff from parent 0b1aaf7b67a6 Diff from another changeset...

 
272
273
274
275
 
276
277
278
 
299
300
301
302
 
303
304
305
 
320
321
322
323
324
325
326
327
328
329
330
331
332
333
 
272
273
274
 
275
276
277
278
 
299
300
301
 
302
303
304
305
 
320
321
322
 
 
 
 
 
 
 
 
323
324
325
@@ -272,7 +272,7 @@
    self.thread = thread.CmdThread(cmdline, self.display, self.parent())   self.thread.started.connect(self.command_started) - self.thread.commandFinished.connect(self.command_finished) + self.thread.commandFinished.connect(self.threadFinished)     self.thread.outputReceived.connect(self.output)   self.thread.progressReceived.connect(self.progress) @@ -299,7 +299,7 @@
  self.commandStarted.emit()     @pyqtSlot(int) - def command_finished(self, ret): + def threadFinished(self, ret):   if self.stbar:   if ret is None:   self.stbar.clear() @@ -320,14 +320,6 @@
    self.commandFinished.emit(ret)   - @pyqtSlot() - def command_canceling(self): - if self.stbar: - self.stbar.showMessage(_('Canceling...')) - self.stbar.clear() - - self.commandCanceling.emit() -    class LogWidget(QsciScintilla):   """Output log viewer"""