Commit 48a8b98f authored by Moritz Lipp's avatar Moritz Lipp

Support launch/named/go-to-remote links

parent a7bef638
......@@ -72,6 +72,18 @@ pdf_page_links_get(zathura_page_t* page, mupdf_page_t* mupdf_page, zathura_error
/* } */
}
break;
case FZ_LINK_LAUNCH:
type = ZATHURA_LINK_LAUNCH;
target.value = link->dest.ld.launch.file_spec;
break;
case FZ_LINK_NAMED:
type = ZATHURA_LINK_NAMED;
target.value = link->dest.ld.named.named;
break;
case FZ_LINK_GOTOR:
type = ZATHURA_LINK_GOTO_REMOTE;
target.value = link->dest.ld.gotor.file_spec;
break;
default:
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment