]> 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:27:47 +0000 (11:27 +0100)
Fixes bgo#601433.

libview/ev-view.c

index 2b34529aff6f0539df6a6f3eacb17eb1f953a20a..e41e35ff839fa971ade37800e82c436eda38e1c4 100644 (file)
@@ -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