Commit 54660f5b authored by Sebastian Ramacher's avatar Sebastian Ramacher

Use same code path as ZATHURA_LINK_LAUNCH

parent 3f2001e6
......@@ -255,9 +255,7 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
link_remote(zathura, link->target.value);
break;
case ZATHURA_LINK_URI:
if (girara_xdg_open(link->target.value) == false) {
girara_notify(zathura->ui.session, GIRARA_ERROR, _("Failed to run xdg-open."));
}
link_launch(zathura, link);
break;
case ZATHURA_LINK_LAUNCH:
link_launch(zathura, link);
......
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