From 47565f7ff3bbb1d56e2a7851c44ae10981c229ac Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Wed, 28 Dec 2005 13:37:40 +0000 Subject: 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. --- (limited to 'shell/ev-page-action.c') diff --git a/shell/ev-page-action.c b/shell/ev-page-action.c index 73152b4..fc81cb7 100644 --- a/shell/ev-page-action.c +++ b/shell/ev-page-action.c @@ -298,7 +298,7 @@ build_new_tree_cb (GtkTreeModel *model, EV_DOCUMENT_LINKS_COLUMN_LINK, &link, -1); - if (link && ev_link_get_link_type (link) == EV_LINK_TYPE_PAGE) { + if (link && ev_link_get_page (link) >= 0) { GtkTreeIter filter_iter; gtk_list_store_append (GTK_LIST_STORE (filter_model), &filter_iter); -- cgit v0.9.1