[evince] [libview] Make sure view is redrawn as soon as current page is rendered



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]