]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] Add saved documents with "save a copy" to recent file list
authorCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 4 May 2010 10:40:29 +0000 (12:40 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 4 May 2010 10:40:29 +0000 (12:40 +0200)
Fixes bug #617580.

shell/ev-window.c

index 38ac098ad74b0153e8805c0a419a6f2d0877ab31..d4134f4316df921263d50ec3b4136b9f4b630aa4 100644 (file)
@@ -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);