diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-07-26 17:19:49 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-07-26 17:19:49 (GMT) |
commit | 0316bea7b62a35a692afad8cef9ecfb4a1d6a4f5 (patch) | |
tree | 11616346c2778f19be43aa24963a861d7e307096 /shell/ev-jobs.h | |
parent | e70119b293ab8a26bdea4a56407bb0f41f1e43aa (diff) |
Add page_ready signal to notify that page is ready as soon as possible
2007-07-26 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-pixbuf-cache.c: (job_page_ready_cb), (job_finished_cb),
(copy_job_page_and_selection_to_job_info), (copy_job_to_job_info),
(add_job), (ev_pixbuf_cache_get_surface),
(ev_pixbuf_cache_get_link_mapping),
(ev_pixbuf_cache_get_image_mapping),
(ev_pixbuf_cache_get_form_field_mapping),
(ev_pixbuf_cache_get_text_mapping):
* shell/ev-jobs.[ch]: (ev_job_render_class_init),
(notify_page_ready), (ev_job_render_page_ready),
(ev_job_render_run):
Add page_ready signal to notify that page is ready as soon as
possible even if other page elements like links, forms, images or
text mapping are not ready yet.
svn path=/trunk/; revision=2581
Diffstat (limited to 'shell/ev-jobs.h')
-rw-r--r-- | shell/ev-jobs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ev-jobs.h b/shell/ev-jobs.h index 0523198..c0a4036 100644 --- a/shell/ev-jobs.h +++ b/shell/ev-jobs.h @@ -119,6 +119,7 @@ struct _EvJobRender EvJob parent; EvRenderContext *rc; + gboolean page_ready; gint target_width; gint target_height; cairo_surface_t *surface; @@ -144,6 +145,8 @@ struct _EvJobRender struct _EvJobRenderClass { EvJobClass parent_class; + + void (* page_ready) (EvJobRender *job); }; struct _EvJobThumbnail |