mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 12:05:59 +01:00
Add debug output when following links
This commit is contained in:
parent
54660f5b17
commit
be73995f42
1 changed files with 4 additions and 0 deletions
|
@ -249,15 +249,19 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
|
||||||
|
|
||||||
switch (link->type) {
|
switch (link->type) {
|
||||||
case ZATHURA_LINK_GOTO_DEST:
|
case ZATHURA_LINK_GOTO_DEST:
|
||||||
|
girara_debug("Going to link destination: page: %d", link->target.page_number);
|
||||||
link_goto_dest(zathura, link);
|
link_goto_dest(zathura, link);
|
||||||
break;
|
break;
|
||||||
case ZATHURA_LINK_GOTO_REMOTE:
|
case ZATHURA_LINK_GOTO_REMOTE:
|
||||||
|
girara_debug("Going to remote destination: %s", link->target.value);
|
||||||
link_remote(zathura, link->target.value);
|
link_remote(zathura, link->target.value);
|
||||||
break;
|
break;
|
||||||
case ZATHURA_LINK_URI:
|
case ZATHURA_LINK_URI:
|
||||||
|
girara_debug("Opening URI: %s", link->target.value);
|
||||||
link_launch(zathura, link);
|
link_launch(zathura, link);
|
||||||
break;
|
break;
|
||||||
case ZATHURA_LINK_LAUNCH:
|
case ZATHURA_LINK_LAUNCH:
|
||||||
|
girara_debug("Launching link: %s", link->target.value);
|
||||||
link_launch(zathura, link);
|
link_launch(zathura, link);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue