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=a61c4406e2cd4dc8f2d3a981e73dc09ae21e6ece;hp=4bb63b2f1bc7c7f660e56e7403a1f86f5b58b551;hpb=ec348ae2051c72cd31cb69035cfb64182fcd89d5;p=evince.git diff --git a/shell/ev-page-action.c b/shell/ev-page-action.c index 4bb63b2f..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); @@ -653,7 +653,7 @@ ev_page_action_class_init (EvPageActionClass *class) signals[ACTIVATE_LABEL] = g_signal_new ("activate_label", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, - G_STRUCT_OFFSET (EvPageActionClass, activate_link), + G_STRUCT_OFFSET (EvPageActionClass, activate_label), NULL, NULL, ev_marshal_BOOLEAN__STRING, G_TYPE_BOOLEAN, 1,