From aecb66e5a15ed4c610946edbd9752a21fe88415b Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Tue, 21 Mar 2006 20:23:41 +0000 Subject: More correctly draw loading text when document is empty. * shell/ev-view.c: (ev_view_expose_event): More correctly draw loading text when document is empty. --- (limited to 'shell') diff --git a/shell/ev-view.c b/shell/ev-view.c index 8ac8aa7..f903e20 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -1605,8 +1605,13 @@ ev_view_expose_event (GtkWidget *widget, int i; if (view->loading) { + GdkRectangle area = {0}; + + area.width = widget->allocation.width; + area.height = widget->allocation.height; + draw_loading_text (view, - &(widget->allocation), + &area, &(event->area)); } -- cgit v0.9.1