Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview/ev-view.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-05-13 12:19:09 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-05-13 12:19:09 (GMT)
commit308d0bf15bb3c2a1a4506f4da5fa1a5eac77e7f7 (patch)
tree9beada8176a53a25220b2699e8a6653af98c5c7c /libview/ev-view.c
parent6447fe328cd425e6b28d10afd38725a342508e6b (diff)
[libview] Update current range when setting the document
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r--libview/ev-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index a3ac91e..83e4518 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -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));
}
}