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

postreview: updated to use cmdui Runner instead of Dialog

Changeset 926e8837d32a

Parent bc036e086929

by Michael De Wildt

Changes to one file · Browse files at 926e8837d32a Showing diff from parent bc036e086929 Diff from another changeset...

 
304
305
306
 
307
308
309
 
335
336
337
338
339
340
341
 
 
 
342
343
344
 
304
305
306
307
308
309
310
 
336
337
338
 
 
 
 
339
340
341
342
343
344
@@ -304,6 +304,7 @@
  self.qui.changesets_view.setEnabled(True)     def close(self): + self.cmd.cancel()   super(PostReviewDialog, self).close()     def accept(self): @@ -335,10 +336,9 @@
  self.qui.post_review_button.setEnabled(False)   self.qui.close_button.setEnabled(False)   - self.cmd = cmdui.Dialog(['postreview'] + cmdargs(opts) + [revstr], self) - self.cmd.core.commandFinished.connect(self.onCompletion) - self.cmd.setWindowTitle(_('Posting Review')) - self.cmd.setShowOutput(False) + self.cmd = cmdui.Runner(_('Review Board'), False, self) + self.cmd.commandFinished.connect(self.onCompletion) + self.cmd.run(['postreview'] + cmdargs(opts) + [revstr])     @pyqtSlot()   def onCompletion(self):