Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0.2, 1.0.3, and 1.0.4

stable gdialog: add hook function before showing dialog

Changeset 01cedc3f47a2

Parent 0f13d266f5ab

by Yuki KODAMA

Changes to one file · Browse files at 01cedc3f47a2 Showing diff from parent 0f13d266f5ab Diff from another changeset...

 
770
771
772
 
 
 
773
774
775
 
874
875
876
 
877
878
879
 
770
771
772
773
774
775
776
777
778
 
877
878
879
880
881
882
883
@@ -770,6 +770,9 @@
  def command_done(self, returncode, useraborted, *args):   pass   + def before_show(self): + pass +   def before_close(self):   return True   @@ -874,6 +877,7 @@
  self.connect('response', self.dialog_response)     # prepare to show + self.before_show()   self.vbox.show_all()   gtklib.idle_add_single_call(self.after_init)