Use same code path as ZATHURA_LINK_LAUNCH

This commit is contained in:
Sebastian Ramacher 2019-02-24 19:06:33 +01:00
parent 3f2001e6bc
commit 54660f5b17

View file

@ -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);