Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-12-25 21:45:37 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-12-25 21:45:37 (GMT)
commite0acc158e0e24d2f5d0d482ca7eaa20ad83e0f82 (patch)
treea5f2276450b31f4daf03f5328d46bae3fb927617 /shell
parent147db949b1e422ce3e4fc2c948efbd74581bc311 (diff)
Fix very small typo.
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-view.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 9c7779b..d8eb8ac 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -319,8 +319,11 @@ scroll_to_current_page (EvView *view, GtkOrientation orientation)
doc_point_to_view_point (view, view->current_page, &view->pending_point, &view_point);
- view->pending_point.x = 0;
- view->pending_point.y = 0;
+ if (orientation == GTK_ORIENTATION_VERTICAL) {
+ view->pending_point.y = 0;
+ } else {
+ view->pending_point.x = 0;
+ }
if (orientation == GTK_ORIENTATION_VERTICAL) {
if (view->continuous) {