From: Carlos Garcia Campos Date: Sat, 4 Oct 2008 17:45:29 +0000 (+0000) Subject: Emit the job finished signal when the job is handled before the page_ready X-Git-Tag: EVINCE_2_24_1~12 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=2fee7e257ca76d35608c884d52eb346b187fe618;p=evince.git Emit the job finished signal when the job is handled before the page_ready 2008-10-04 Carlos Garcia Campos * shell/ev-pixbuf-cache.c: (copy_job_to_job_info): Emit the job finished signal when the job is handled before the page_ready callback. svn path=/trunk/; revision=3215 --- diff --git a/ChangeLog b/ChangeLog index 195fb8c8..6f7678dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-10-04 Carlos Garcia Campos + + * shell/ev-pixbuf-cache.c: (copy_job_to_job_info): + + Emit the job finished signal when the job is handled before the + page_ready callback. + 2008-10-04 Carlos Garcia Campos * shell/ev-window.c: (launch_action): diff --git a/shell/ev-pixbuf-cache.c b/shell/ev-pixbuf-cache.c index d8927f12..d9252fdb 100644 --- a/shell/ev-pixbuf-cache.c +++ b/shell/ev-pixbuf-cache.c @@ -502,6 +502,7 @@ copy_job_to_job_info (EvJobRender *job_render, EvPixbufCache *pixbuf_cache) { if (!job_info->page_ready) { + g_signal_emit (pixbuf_cache, signals[JOB_FINISHED], 0, job_info->region); copy_job_page_and_selection_to_job_info (job_render, job_info, pixbuf_cache);