[evince/gnome-2-28] [libview] Make sure view is redrawn as soon as current page is rendered
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evince/gnome-2-28] [libview] Make sure view is redrawn as soon as current page is rendered
- Date: Sun, 15 Nov 2009 10:28:12 +0000 (UTC)
commit fad5626a60aea896dc085ad54463ab4facca54c6
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sun Nov 15 11:25:25 2009 +0100
[libview] Make sure view is redrawn as soon as current page is rendered
Fixes bgo#601433.
libview/ev-view.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 2b34529..e41e35f 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -529,6 +529,9 @@ view_update_range_and_current_page (EvView *view)
view->rotation,
view->scale,
view->selection_info.selections);
+
+ if (ev_pixbuf_cache_get_surface (view->pixbuf_cache, view->current_page))
+ gtk_widget_queue_draw (GTK_WIDGET (view));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]