]> www.fi.muni.cz Git - evince.git/commitdiff
Emit the job finished signal when the job is handled before the page_ready
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 4 Oct 2008 17:45:29 +0000 (17:45 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sat, 4 Oct 2008 17:45:29 +0000 (17:45 +0000)
2008-10-04  Carlos Garcia Campos  <carlosgc@gnome.org>

* 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

ChangeLog
shell/ev-pixbuf-cache.c

index 195fb8c8c0c17ad114d47018ec6d74c170ede70a..6f7678dc2355932b2b5dfac2786c4585be8c2271 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-10-04  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * 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  <carlosgc@gnome.org>
 
        * shell/ev-window.c: (launch_action):
index d8927f12c4a2c0da6ee5ffc7148bd8b3b4ef759b..d9252fdb99f26299039d36e00843dc35454f305d 100644 (file)
@@ -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);