mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 05:25:59 +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);
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue