X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-page-action.c;h=fc81cb709932f516a2f4d0fd82a4f2559da18653;hb=33613115acfba10d81be48caf7670fc17d47e35f;hp=a316f35f7b33b049c67aeacef5f2bae0c30c9a1e;hpb=89e2b545e76b82cb35715b7da470f87638e6241c;p=evince.git diff --git a/shell/ev-page-action.c b/shell/ev-page-action.c index a316f35f..fc81cb70 100644 --- a/shell/ev-page-action.c +++ b/shell/ev-page-action.c @@ -185,7 +185,7 @@ page_changed_cb (EvPageCache *page_cache, gtk_entry_set_width_chars (GTK_ENTRY (proxy->entry), CLAMP (ev_page_cache_get_max_label_chars (page_cache), - 4, 12)); + 6, 12)); page_label = ev_page_cache_get_page_label (page_cache, page); gtk_entry_set_text (GTK_ENTRY (proxy->entry), page_label); @@ -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);