Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

archive: remove destroy()

When occurred 'response' signal, it will be closed unless calling
run() recursively. So no need to call destroy() explicitly.

Changeset 96b0612d17a6

Parent 3cbdde54decd

by Yuki KODAMA

Changes to one file · Browse files at 96b0612d17a6 Showing diff from parent 3cbdde54decd Diff from another changeset...

 
128
129
130
131
132
133
134
 
136
137
138
139
 
140
141
142
 
128
129
130
 
131
132
133
 
135
136
137
 
138
139
140
141
@@ -128,7 +128,6 @@
  if ret == gtk.RESPONSE_YES:   abort()   else: - self.destroy()   return # close dialog   # Abort button   elif response_id == gtk.RESPONSE_CANCEL: @@ -136,7 +135,7 @@
  else:   raise _('unexpected response id: %s') % response_id   - self.run() # doesn't close dialog + self.run() # don't close dialog     def type_changed(self, radio):   if not radio.get_active():