Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

gdialog: give CustomPrompt class a proper run() method

Changeset ac5e74ca7f00

Parent 05f7313b5f5c

by Steve Borho

Changes to one file · Browse files at ac5e74ca7f00 Showing diff from parent 05f7313b5f5c Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​gdialog.py Stacked
 
67
68
69
 
 
 
 
 
70
71
72
 
67
68
69
70
71
72
73
74
75
76
77
@@ -67,6 +67,11 @@
  if default:   self.set_default_response(ord(default))   + def run(self): + response = gtklib.MessageDialog.run(self) + self.destroy() + return response +  class Confirm(SimpleMessage):   """Dialog returns gtk.RESPONSE_YES or gtk.RESPONSE_NO   """