From: Carlos Garcia Campos Date: Tue, 12 Jun 2007 15:32:20 +0000 (+0000) Subject: Show loading text centered. Fixes bug #433061 X-Git-Tag: EVINCE_0_9_1~14 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=09854a9ec3e45f868fee64f2ab991bf82fd731b3;p=evince.git Show loading text centered. Fixes bug #433061 2007-06-09 Carlos Garcia Campos * shell/ev-view.c: (draw_loading_text): Show loading text centered. Fixes bug #433061 svn path=/trunk/; revision=2494 --- diff --git a/ChangeLog b/ChangeLog index 4fbea898..d378f2b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-06-09 Carlos Garcia Campos + + * shell/ev-view.c: (draw_loading_text): + + Show loading text centered. Fixes bug #433061 + 2007-06-09 Carlos Garcia Campos * shell/ev-sidebar-thumbnails.c: diff --git a/shell/ev-view.c b/shell/ev-view.c index 9f59ea1d..bcf3374e 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -2856,7 +2856,7 @@ draw_loading_text (EvView *view, 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);