]> www.fi.muni.cz Git - evince.git/commitdiff
[libview] Update current range when setting the document
authorCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 13 May 2009 12:19:09 +0000 (14:19 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 13 May 2009 12:19:09 +0000 (14:19 +0200)
libview/ev-view.c

index a3ac91ec3f51d57250212d817ef27d8b32d1a4af..83e45189ef9896a1795443f3850071435cb3466d 100644 (file)
@@ -4892,6 +4892,8 @@ ev_view_set_document (EvView     *view,
                        setup_caches (view);
                 }
 
+               view_update_range_and_current_page (view);
+
                gtk_widget_queue_resize (GTK_WIDGET (view));
        }
 }