mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 20:16:01 +01:00
Use same code path as ZATHURA_LINK_LAUNCH
This commit is contained in:
parent
3f2001e6bc
commit
54660f5b17
1 changed files with 1 additions and 3 deletions
|
@ -255,9 +255,7 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
|
||||||
link_remote(zathura, link->target.value);
|
link_remote(zathura, link->target.value);
|
||||||
break;
|
break;
|
||||||
case ZATHURA_LINK_URI:
|
case ZATHURA_LINK_URI:
|
||||||
if (girara_xdg_open(link->target.value) == false) {
|
link_launch(zathura, link);
|
||||||
girara_notify(zathura->ui.session, GIRARA_ERROR, _("Failed to run xdg-open."));
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case ZATHURA_LINK_LAUNCH:
|
case ZATHURA_LINK_LAUNCH:
|
||||||
link_launch(zathura, link);
|
link_launch(zathura, link);
|
||||||
|
|
Loading…
Reference in a new issue