]> Pileus Git - ~andy/gtk/commit
Save selection to recent-files in the asynchronous Save cases
authorFederico Mena Quintero <federico@gnome.org>
Wed, 13 Jul 2011 21:04:54 +0000 (16:04 -0500)
committerFederico Mena Quintero <federico@gnome.org>
Wed, 27 Jul 2011 23:54:52 +0000 (18:54 -0500)
commit8962e0383f6dce489af6ee32a62b6f9b5207780d
tree26aa187c951a470c28239f6369b2f577e32c23d0
parent7985ab786d6efb83e274d9fa17577511d713f091
Save selection to recent-files in the asynchronous Save cases

Various paths in SAVE or CREATE_FOLDER return from ::should_respond() but
leave an asynchronous process running.  This process checks some things
in the user's selection, for example, 'does the file exist, and if so
do we need to bring up an overwrite-confirmation dialog?'.  When these
async processes complete *and* it is indeed time for the dialog to
be terminated (via the response-requested signal), we also need to
save the selection to the recently-used list - as ::should_respond() does
by itself in the cases when it can request a response immediately.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilechooserdefault.c