]> www.fi.muni.cz Git - evince.git/commitdiff
Redraw view every time we have a new surface. Fixes bug #443587.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 13 Jun 2007 10:48:59 +0000 (10:48 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Wed, 13 Jun 2007 10:48:59 +0000 (10:48 +0000)
2007-06-13  Carlos Garcia Campos  <carlosgc@gnome.org>
* shell/ev-pixbuf-cache.c: (job_finished_cb),
(ev_pixbuf_cache_get_surface), (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 surface. Fixes bug #443587.

svn path=/trunk/; revision=2502

ChangeLog
shell/ev-pixbuf-cache.c

index b387922dee5e1eb2949f5bbbc33f0e0caea56df2..c27b3a1bfded64284ac640519bc339a362af34d0 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_surface), (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 surface. Fixes bug #443587.
+       
 2007-06-13  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * libdocument/ev-document.c: (ev_document_info_free):
index 2c815c099c181c4b92cffcfdd89af095e403c88b..20446b101acae6c2d0583dab679de94cefe80325 100644 (file)
@@ -233,7 +233,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);
 }
 
@@ -686,6 +685,7 @@ ev_pixbuf_cache_get_surface (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->surface;
@@ -705,6 +705,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;
@@ -727,6 +728,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;
@@ -790,6 +792,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;