mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:24:24 +01:00
Coding standard
This commit is contained in:
parent
a284f75ce9
commit
85290d1463
@ -124,7 +124,7 @@ cb_index_row_activated(GtkTreeView* tree_view, GtkTreePath* path,
|
|||||||
sc_toggle_index(zathura->ui.session, NULL, 0);
|
sc_toggle_index(zathura->ui.session, NULL, 0);
|
||||||
page_set_delayed(zathura, index_element->target.page_number);
|
page_set_delayed(zathura, index_element->target.page_number);
|
||||||
} else if (index_element->type == ZATHURA_LINK_EXTERNAL) {
|
} else if (index_element->type == ZATHURA_LINK_EXTERNAL) {
|
||||||
if (!girara_xdg_open(index_element->target.uri)) {
|
if (girara_xdg_open(index_element->target.uri) == false) {
|
||||||
girara_notify(zathura->ui.session, GIRARA_ERROR, "Failed to run xdg-open.");
|
girara_notify(zathura->ui.session, GIRARA_ERROR, "Failed to run xdg-open.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user