From aecb66e5a15ed4c610946edbd9752a21fe88415b Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Tue, 21 Mar 2006 20:23:41 +0000 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ shell/ev-view.c | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 283710bc..868727d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-03-21 Nickolay V. Shmyrev + + * shell/ev-view.c: (ev_view_expose_event): + + More correctly draw loading text when document + is empty. + 2006-03-21 Nickolay V. Shmyrev * shell/ev-view.c: (ev_view_scroll): diff --git a/shell/ev-view.c b/shell/ev-view.c index 8ac8aa7b..f903e20a 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)); } -- 2.43.5