Add format to :info

This commit is contained in:
Sebastian Ramacher 2019-05-30 17:41:42 +02:00
parent 40acdde217
commit e6f916768f
2 changed files with 4 additions and 2 deletions

View file

@ -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);

View file

@ -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;
/**