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

cmdui: rename is_show_output() to outputShown()

Changeset 09038fd6316f

Parent 5c476de947b4

by Steve Borho

Changes to 8 files · Browse files at 09038fd6316f Showing diff from parent 5c476de947b4 Diff from another changeset...

 
326
327
328
329
 
330
331
332
 
354
355
356
357
 
358
359
 
360
361
362
 
326
327
328
 
329
330
331
332
 
354
355
356
 
357
358
 
359
360
361
362
@@ -326,7 +326,7 @@
  self.cmd.run(cmdline)     def detail_clicked(self): - if self.cmd.is_show_output(): + if self.cmd.outputShown():   self.cmd.setShowOutput(False)   else:   self.cmd.setShowOutput(True) @@ -354,9 +354,9 @@
  def command_finished(self, ret):   if self.files_in_rev_chk.isChecked():   os.chdir(self.savedcwd) - if ret is not 0 or self.cmd.is_show_output()\ + if ret is not 0 or self.cmd.outputShown()\   or self.keep_open_chk.isChecked(): - if not self.cmd.is_show_output(): + if not self.cmd.outputShown():   self.detail_btn.click()   self.cancel_btn.setHidden(True)   self.close_btn.setShown(True)
 
198
199
200
201
 
202
203
204
 
198
199
200
 
201
202
203
204
@@ -198,7 +198,7 @@
  self.backout_btn.clicked.disconnect(self.backout)   self.backout_btn.clicked.connect(self.commit)   self.checkResolve() - elif not self.cmd.is_show_output(): + elif not self.cmd.outputShown():   self.accept()     def checkResolve(self):
 
331
332
333
334
 
335
336
337
 
331
332
333
 
334
335
336
337
@@ -331,7 +331,7 @@
  self.detail_btn.setShown(True)     def command_finished(self, ret): - if ret is not 0 or self.cmd.is_show_output(): + if ret is not 0 or self.cmd.outputShown():   self.detail_btn.setChecked(True)   self.clone_btn.setShown(True)   self.close_btn.setShown(True)
 
686
687
688
689
 
690
691
692
 
686
687
688
 
689
690
691
692
@@ -686,7 +686,7 @@
  if self.internallog:   self.core.output_text.setShown(visible)   - def is_show_output(self): + def outputShown(self):   if self.internallog:   return self.core.output_text.isVisible()   else:
 
303
304
305
306
 
307
308
309
 
323
324
325
326
 
327
328
 
329
330
331
 
303
304
305
 
306
307
308
309
 
323
324
325
 
326
327
 
328
329
330
331
@@ -303,7 +303,7 @@
  self.cmd.run(cmdline)     def detail_clicked(self): - if self.cmd.is_show_output(): + if self.cmd.outputShown():   self.cmd.setShowOutput(False)   else:   self.cmd.setShowOutput(True) @@ -323,9 +323,9 @@
  self.detail_btn.setShown(True)     def command_finished(self, ret): - if (ret is not 0 or self.cmd.is_show_output() + if (ret is not 0 or self.cmd.outputShown()   or self.keep_open_chk.isChecked()): - if not self.cmd.is_show_output(): + if not self.cmd.outputShown():   self.detail_btn.click()   self.cancel_btn.setHidden(True)   self.close_btn.setShown(True)
 
305
306
307
308
 
309
310
311
 
305
306
307
 
308
309
310
311
@@ -305,7 +305,7 @@
    def command_finished(self, ret):   self.repo.decrementBusyCount() - if ret is not 0 or self.cmd.is_show_output(): + if ret is not 0 or self.cmd.outputShown():   self.detail_btn.setChecked(True)   self.close_btn.setShown(True)   self.close_btn.setAutoDefault(True)
 
237
238
239
240
 
241
242
243
 
237
238
239
 
240
241
242
243
@@ -237,7 +237,7 @@
    def command_finished(self, ret):   self.repo.decrementBusyCount() - if ret is not 0 or self.cmd.is_show_output(): + if ret is not 0 or self.cmd.outputShown():   self.detail_btn.setChecked(True)   self.close_btn.setShown(True)   self.close_btn.setAutoDefault(True)
 
289
290
291
292
 
293
294
295
 
289
290
291
 
292
293
294
295
@@ -289,7 +289,7 @@
    def command_finished(self, ret):   self.repo.decrementBusyCount() - if ret not in (0, 1) or self.cmd.is_show_output(): + if ret not in (0, 1) or self.cmd.outputShown():   self.detail_btn.setChecked(True)   self.close_btn.setShown(True)   self.close_btn.setAutoDefault(True)