Commit e6f91676 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Add format to :info

parent 40acdde2
......@@ -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);
......
......@@ -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;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment