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

stable update: use windowless cmdui.Runner() when update is launched from the Workbench

Changeset de6b1d7dda9e

Parent 91fa36caa534

by Steve Borho

Changes to one file · Browse files at de6b1d7dda9e Showing diff from parent 91fa36caa534 Diff from another changeset...

 
107
108
109
110
 
 
 
 
 
111
112
113
114
115
116
117
118
119
120
 
285
286
287
288
 
289
290
291
 
107
108
109
 
110
111
112
113
114
115
116
117
118
119
120
 
121
122
123
 
288
289
290
 
291
292
293
294
@@ -107,14 +107,17 @@
  repo.ui.configbool('tortoisehg', 'autoresolve', False))     ## command widget - self.cmd = cmdui.Widget() + if self.parent: + self.cmd = cmdui.Runner(_('TortoiseHg Update'), False, self) + else: + self.cmd = cmdui.Widget(True, self) + box.addWidget(self.cmd)   self.cmd.commandStarted.connect(self.command_started)   self.cmd.commandFinished.connect(self.command_finished)   self.cmd.commandCanceling.connect(self.command_canceling)   self.cmd.output.connect(self.output)   self.cmd.makeLogVisible.connect(self.makeLogVisible)   self.cmd.progress.connect(self.progress) - box.addWidget(self.cmd)     ## bottom buttons   buttons = QDialogButtonBox() @@ -285,7 +288,7 @@
  self.update_btn.setHidden(True)   self.close_btn.setHidden(True)   self.cancel_btn.setShown(True) - self.detail_btn.setShown(True) + self.detail_btn.setShown(not self.parent())     def command_finished(self, ret):   self.repo.decrementBusyCount()