]> www.fi.muni.cz Git - evince.git/commitdiff
[libview] Make sure view is redrawn as soon as current page is rendered
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 15 Nov 2009 10:25:25 +0000 (11:25 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 15 Nov 2009 10:25:25 +0000 (11:25 +0100)
Fixes bgo#601433.

libview/ev-view.c

index e917a671caafc251713fd508d0e9e6d4c98f3bcf..6417a43c6f949032c9c3e0bc64f4adc812a843e4 100644 (file)
@@ -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