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.
svn path=/trunk/; revision=2234
+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.
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;
}
default:
break;
}
- }
-
- if (view->loading) {
+ } else if (view->loading) {
GdkRectangle area = {0};
area.width = widget->allocation.width;
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;