Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--shell/ev-view.c7
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 283710b..868727d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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));
}