Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--shell/ev-pixbuf-cache.c2
-rw-r--r--shell/ev-view.c14
3 files changed, 14 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 0034fa9..002c202 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-18 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-view.c: (ev_view_expose_event), (draw_one_page):
+
+ Do not draw white background page in presentation mode.
+
2007-01-16 Jani Monoses <jani.monoses@gmail.com>
* shell/ev-view.c: Remove unused gnome-vfs include.
diff --git a/shell/ev-pixbuf-cache.c b/shell/ev-pixbuf-cache.c
index 885c11a..dbabf1c 100644
--- a/shell/ev-pixbuf-cache.c
+++ b/shell/ev-pixbuf-cache.c
@@ -701,7 +701,7 @@ ev_pixbuf_cache_get_link_mapping (EvPixbufCache *pixbuf_cache,
EV_JOB (job_info->job)->finished) {
copy_job_to_job_info (EV_JOB_RENDER (job_info->job), job_info, pixbuf_cache);
}
-
+
return job_info->link_mapping;
}
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 30ce54a..13f227e 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -1902,9 +1902,7 @@ ev_view_expose_event (GtkWidget *widget,
default:
break;
}
- }
-
- if (view->loading) {
+ } else if (view->loading) {
GdkRectangle area = {0};
area.width = widget->allocation.width;
@@ -2859,10 +2857,12 @@ draw_one_page (EvView *view,
real_page_area.height -= (border->top + border->bottom);
*page_ready = TRUE;
- ev_document_misc_paint_one_page (GTK_WIDGET(view)->window,
- GTK_WIDGET (view),
- page_area, border,
- page == current_page);
+ if (!view->presentation) {
+ ev_document_misc_paint_one_page (GTK_WIDGET(view)->window,
+ GTK_WIDGET (view),
+ page_area, border,
+ page == current_page);
+ }
if (gdk_rectangle_intersect (&real_page_area, expose_area, &overlap)) {
GdkPixbuf *selection_pixbuf = NULL;