2007-06-09 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-view.c: (draw_loading_text):
Show loading text centered. Fixes bug #433061
svn path=/trunk/; revision=2494
+2007-06-09 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-view.c: (draw_loading_text):
+
+ Show loading text centered. Fixes bug #433061
+
2007-06-09 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar-thumbnails.c:
ev_document_fc_mutex_unlock ();
}
- width = cairo_image_surface_get_width (view->loading_text) / 2;
+ width = (page_area->width - cairo_image_surface_get_width (view->loading_text)) / 2;
height = (page_area->height - cairo_image_surface_get_height (view->loading_text)) / 2;
cr = gdk_cairo_create (GTK_WIDGET (view)->window);