]> www.fi.muni.cz Git - evince.git/commitdiff
Redraw view every time we have a new pixbuf. Fixes bug #443587.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 13 Jun 2007 10:49:32 +0000 (10:49 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Wed, 13 Jun 2007 10:49:32 +0000 (10:49 +0000)
2007-06-13  Carlos Garcia Campos  <carlosgc@gnome.org>
* shell/ev-pixbuf-cache.c: (job_finished_cb),
(ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping),
(ev_pixbuf_cache_get_image_mapping),
(ev_pixbuf_cache_get_text_mapping):
Redraw view every time we have a new pixbuf. Fixes bug #443587.

svn path=/branches/gnome-2-18/; revision=2503

ChangeLog
shell/ev-pixbuf-cache.c

index 58633a66692bb54841c8eb4e34d07c37096611ce..7c06d84549b85e22276dc459f697cc66ef37a75f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2007-06-13  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * shell/ev-pixbuf-cache.c: (job_finished_cb),
+       (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping),
+       (ev_pixbuf_cache_get_image_mapping),
+       (ev_pixbuf_cache_get_text_mapping):
+
+       Redraw view every time we have a new pixbuf. Fixes bug #443587.
+       
 2007-06-13  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * libdocument/ev-document.c: (ev_document_info_free):
index 285cae4e2cb366a7eab5f62e26e485b4b6dd45c9..a23b4cf830904f5162c1d72eb4fd20ca0e1e5105 100644 (file)
@@ -229,7 +229,6 @@ job_finished_cb (EvJob         *job,
        job_info = find_job_cache (pixbuf_cache, job_render->rc->page);
 
        copy_job_to_job_info (job_render, job_info, pixbuf_cache);
-
        g_signal_emit (pixbuf_cache, signals[JOB_FINISHED], 0);
 }
 
@@ -682,6 +681,7 @@ ev_pixbuf_cache_get_pixbuf (EvPixbufCache *pixbuf_cache,
        if (job_info->job &&
            EV_JOB (job_info->job)->finished) {
                copy_job_to_job_info (EV_JOB_RENDER (job_info->job), job_info, pixbuf_cache);
+               g_signal_emit (pixbuf_cache, signals[JOB_FINISHED], 0);
        }
 
        return job_info->pixbuf;
@@ -701,6 +701,7 @@ ev_pixbuf_cache_get_link_mapping (EvPixbufCache *pixbuf_cache,
        if (job_info->job &&
            EV_JOB (job_info->job)->finished) {
                copy_job_to_job_info (EV_JOB_RENDER (job_info->job), job_info, pixbuf_cache);
+               g_signal_emit (pixbuf_cache, signals[JOB_FINISHED], 0);
        }
 
        return job_info->link_mapping;
@@ -723,6 +724,7 @@ ev_pixbuf_cache_get_image_mapping (EvPixbufCache *pixbuf_cache,
        if (job_info->job &&
            EV_JOB (job_info->job)->finished) {
                copy_job_to_job_info (EV_JOB_RENDER (job_info->job), job_info, pixbuf_cache);
+               g_signal_emit (pixbuf_cache, signals[JOB_FINISHED], 0);
        }
 
        return job_info->image_mapping;
@@ -780,6 +782,7 @@ ev_pixbuf_cache_get_text_mapping (EvPixbufCache *pixbuf_cache,
        if (job_info->job &&
            EV_JOB (job_info->job)->finished) {
                copy_job_to_job_info (EV_JOB_RENDER (job_info->job), job_info, pixbuf_cache);
+               g_signal_emit (pixbuf_cache, signals[JOB_FINISHED], 0);
        }
        
        return job_info->text_mapping;