From 54660f5b17b6d21651a6bc2bfa239510269eb8df Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 24 Feb 2019 19:06:33 +0100 Subject: [PATCH] Use same code path as ZATHURA_LINK_LAUNCH --- zathura/links.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zathura/links.c b/zathura/links.c index 64d451c..f639d3a 100644 --- a/zathura/links.c +++ b/zathura/links.c @@ -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);