From: Carlos Garcia Campos Date: Tue, 4 May 2010 10:40:29 +0000 (+0200) Subject: [shell] Add saved documents with "save a copy" to recent file list X-Git-Tag: EVINCE_2_31_1~4 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=4cc59b9954bbf8728cbdb33cff772c8c4edcbe89;p=evince.git [shell] Add saved documents with "save a copy" to recent file list Fixes bug #617580. --- diff --git a/shell/ev-window.c b/shell/ev-window.c index 38ac098a..d4134f43 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2629,6 +2629,8 @@ ev_window_save_job_cb (EvJob *job, ev_window_error_message (window, job->error, _("The file could not be saved as “%s”."), EV_JOB_SAVE (job)->uri); + } else { + ev_window_add_recent (window, EV_JOB_SAVE (job)->uri); } ev_window_clear_save_job (window);