diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-12-28 13:37:40 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-12-28 13:37:40 (GMT) |
commit | 47565f7ff3bbb1d56e2a7851c44ae10981c229ac (patch) | |
tree | db35d58c08ad06a17ba9fd8b3bbfc6d38d7d5d4a /shell/ev-view.c | |
parent | 2b997472b125397a3cd96a66153b7ea94966fc63 (diff) |
Fix for the bug #325067 with more intelligent selection of current link in
* backend/ev-link.c: (ev_link_get_page), (ev_link_init):
* shell/ev-page-action.c: (build_new_tree_cb):
* shell/ev-sidebar-links.c: (links_page_num_func),
(update_page_callback_foreach), (update_page_callback):
* shell/ev-view.c: (scroll_to_current_page):
Fix for the bug #325067 with more intelligent selection
of current link in sidebar. Make sidebar handle links
of FITR-like type more correctly.
* dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
(dvi_pixbuf_put_pixel):
Fix memory consumtion with disabled alpha channel.
Diffstat (limited to 'shell/ev-view.c')
-rw-r--r-- | shell/ev-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c index b1e9733..f0a371c 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -329,7 +329,7 @@ scroll_to_current_page (EvView *view, GtkOrientation orientation) if (orientation == GTK_ORIENTATION_VERTICAL) { if (view->continuous) { gtk_adjustment_clamp_page (view->vadjustment, - view_point.y - view->spacing, + view_point.y - view->spacing / 2, view_point.y + view->vadjustment->page_size); } else { gtk_adjustment_set_value (view->vadjustment, |