mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:56:00 +01:00
Add format to :info
This commit is contained in:
parent
40acdde217
commit
e6f916768f
2 changed files with 4 additions and 2 deletions
|
@ -179,7 +179,8 @@ cmd_info(girara_session_t* session, girara_list_t* UNUSED(argument_list))
|
||||||
{ _("Creator"), ZATHURA_DOCUMENT_INFORMATION_CREATOR },
|
{ _("Creator"), ZATHURA_DOCUMENT_INFORMATION_CREATOR },
|
||||||
{ _("Producer"), ZATHURA_DOCUMENT_INFORMATION_PRODUCER },
|
{ _("Producer"), ZATHURA_DOCUMENT_INFORMATION_PRODUCER },
|
||||||
{ _("Creation date"), ZATHURA_DOCUMENT_INFORMATION_CREATION_DATE },
|
{ _("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);
|
girara_list_t* information = zathura_document_get_information(zathura->document, NULL);
|
||||||
|
|
|
@ -71,7 +71,8 @@ typedef enum zathura_document_information_type_e
|
||||||
ZATHURA_DOCUMENT_INFORMATION_PRODUCER, /**< Producer of the document */
|
ZATHURA_DOCUMENT_INFORMATION_PRODUCER, /**< Producer of the document */
|
||||||
ZATHURA_DOCUMENT_INFORMATION_CREATION_DATE, /**< Creation data */
|
ZATHURA_DOCUMENT_INFORMATION_CREATION_DATE, /**< Creation data */
|
||||||
ZATHURA_DOCUMENT_INFORMATION_MODIFICATION_DATE, /**< Modification 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;
|
} zathura_document_information_type_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue