[evince] [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] [libview] Make sure view is redrawn as soon as current page is rendered
- Date: Sun, 15 Nov 2009 10:28:31 +0000 (UTC)
commit 2242d8db97b5ce5694acadfa33848fd321e28936
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 e917a67..6417a43 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -701,6 +701,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]