diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-03-21 20:23:41 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-03-21 20:23:41 (GMT) |
commit | aecb66e5a15ed4c610946edbd9752a21fe88415b (patch) | |
tree | 809b9170a332fa442554a9ee0c3a44503af69a5a /shell | |
parent | f248f375c5d1d85724cf59f1dc8e33dab39a69d7 (diff) |
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.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-view.c | 7 |
1 files changed, 6 insertions, 1 deletions
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)); } |