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

clone: fix fatal issue on complete cloning

it should pass gtk.RESPONSE_CLOSE, not gtk.RESPONSE_OK.
If gtk.RESPONSE_OK is passed, it will enter the infinite loop.

Changeset 59337c5fc902

Parent 96b0612d17a6

by Yuki KODAMA

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

 
198
199
200
201
 
202
203
204
 
327
328
329
330
 
331
332
333
 
198
199
200
 
201
202
203
204
 
327
328
329
 
330
331
332
333
@@ -198,7 +198,7 @@
  else:   raise _('unexpected response id: %s') % response_id   - self.run() # doesn't close dialog + self.run() # don't close dialog     def browse_clicked(self, button, title, entry):   res = gtklib.NativeFolderSelectDialog( @@ -327,7 +327,7 @@
  if returncode == 0:   shlib.shell_notify([dest])   if not self.cmd.is_show_log(): - self.response(gtk.RESPONSE_OK) + self.response(gtk.RESPONSE_CLOSE)   self.switch_to(MODE_WORKING)   self.cmd.execute(cmdline, cmd_done)