Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-page-action.c
diff options
context:
space:
mode:
authorNickolay 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)
commit47565f7ff3bbb1d56e2a7851c44ae10981c229ac (patch)
treedb35d58c08ad06a17ba9fd8b3bbfc6d38d7d5d4a /shell/ev-page-action.c
parent2b997472b125397a3cd96a66153b7ea94966fc63 (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-page-action.c')
-rw-r--r--shell/ev-page-action.c2
1 files changed, 1 insertions, 1 deletions
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);