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

gtklib: fix close behavior of gtk directory chooser

Changeset 4eb7b70b162a

Parent 38f2cc2e95cb

by Steve Borho

Changes to one file · Browse files at 4eb7b70b162a Showing diff from parent 38f2cc2e95cb Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​gtklib.py Stacked
 
290
291
292
 
 
293
294
295
 
296
 
290
291
292
293
294
295
 
 
296
297
@@ -290,7 +290,8 @@
  gtk.STOCK_OPEN,gtk.RESPONSE_OK))   dialog.set_default_response(gtk.RESPONSE_OK)   response = dialog.run() + fname = dialog.get_filename() + dialog.destroy()   if response == gtk.RESPONSE_OK: - return dialog.get_filename() - dialog.destroy() + return fname   return None