diff --git a/zathura/commands.c b/zathura/commands.c index 377b672..8f1a86f 100644 --- a/zathura/commands.c +++ b/zathura/commands.c @@ -179,7 +179,8 @@ cmd_info(girara_session_t* session, girara_list_t* UNUSED(argument_list)) { _("Creator"), ZATHURA_DOCUMENT_INFORMATION_CREATOR }, { _("Producer"), ZATHURA_DOCUMENT_INFORMATION_PRODUCER }, { _("Creation date"), ZATHURA_DOCUMENT_INFORMATION_CREATION_DATE }, - { _("Modification date"), ZATHURA_DOCUMENT_INFORMATION_MODIFICATION_DATE } + { _("Modification date"), ZATHURA_DOCUMENT_INFORMATION_MODIFICATION_DATE }, + { _("Format"), ZATHURA_DOCUMENT_INFORMATION_FORMAT } }; girara_list_t* information = zathura_document_get_information(zathura->document, NULL); diff --git a/zathura/types.h b/zathura/types.h index e02efc5..1ff0948 100644 --- a/zathura/types.h +++ b/zathura/types.h @@ -71,7 +71,8 @@ typedef enum zathura_document_information_type_e ZATHURA_DOCUMENT_INFORMATION_PRODUCER, /**< Producer of the document */ ZATHURA_DOCUMENT_INFORMATION_CREATION_DATE, /**< Creation data */ ZATHURA_DOCUMENT_INFORMATION_MODIFICATION_DATE, /**< Modification data */ - ZATHURA_DOCUMENT_INFORMATION_OTHER /**< Any other information */ + ZATHURA_DOCUMENT_INFORMATION_OTHER, /**< Any other information */ + ZATHURA_DOCUMENT_INFORMATION_FORMAT /**< Format of the document */ } zathura_document_information_type_t; /**