Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2005-01-30 18:44:26 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-01-30 18:44:26 (GMT)
commita2f683fe644fded868c536909907282555b1b777 (patch)
treeb5d39640fdf529026340e5593b2f57ff194050a6 /shell
parentc5067c847ed89efbc92f071c358f9c3c8a47cd33 (diff)
Scroll at the top of the page when changing page
2005-01-30 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (set_document_page): Scroll at the top of the page when changing page
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 280b4cf..947feef 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -965,6 +965,9 @@ set_document_page (EvView *view, int page)
&width, &height);
if (width != old_width || height != old_height)
gtk_widget_queue_resize (GTK_WIDGET (view));
+
+ gtk_adjustment_set_value (view->vadjustment,
+ view->vadjustment->lower);
}
view->find_page = page;