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 | |
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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | shell/ev-view.c | 7 |
2 files changed, 13 insertions, 1 deletions
@@ -1,5 +1,12 @@ 2006-03-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru> + * shell/ev-view.c: (ev_view_expose_event): + + More correctly draw loading text when document + is empty. + +2006-03-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru> + * shell/ev-view.c: (ev_view_scroll): Fix for the bug #334854, page down and page up switch 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)); } |