Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-10-04 17:45:29 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2008-10-04 17:45:29 (GMT)
commit2fee7e257ca76d35608c884d52eb346b187fe618 (patch)
tree238bb05b8e40123adfbfe6ab75942d949f5102f5
parent047fc3d035e7d724e5291b8818f486bc52ac132c (diff)
Emit the job finished signal when the job is handled before the page_ready
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
-rw-r--r--ChangeLog7
-rw-r--r--shell/ev-pixbuf-cache.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 195fb8c..6f7678d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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):
Use GdkAppLaunchContext when available to launch external
diff --git a/shell/ev-pixbuf-cache.c b/shell/ev-pixbuf-cache.c
index d8927f1..d9252fd 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);