]> 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, 13 Jul 2011 21:39:12 +0000 (16:39 -0500)
commitb53f60289169077f3a0c5a08ab6baaf13cc62d0c
treed36cca6aad7d13ebd9b84a08fadbb7032f8b3b41
parentafc6aa8126ba586a8eff6766ba366bbde922ccd3
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