diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2005-06-03 17:57:18 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-06-03 17:57:18 (GMT) |
commit | f84660311ba8807c6223178ab3f2515b209d1a57 (patch) | |
tree | 476c943b9cbb13828c5ee6aee62197e8c5f9601f /backend | |
parent | 4e8c27b1594fbfc20df693cb25537da8fad9cde4 (diff) |
Initial go at file properties. Patch by Emil Soleyman-Zomalan
2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document-info.h:
* data/Makefile.am:
* data/evince-ui.xml:
* pdf/ev-poppler.cc:
* shell/Makefile.am:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_file_properties):
Initial go at file properties. Patch by
Emil Soleyman-Zomalan <emil@soleyman.com>.
Needs love see #169583
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ev-document-info.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/backend/ev-document-info.h b/backend/ev-document-info.h index 02ea5b1..299576c 100644 --- a/backend/ev-document-info.h +++ b/backend/ev-document-info.h @@ -81,10 +81,14 @@ typedef enum EV_DOCUMENT_INFO_SUBJECT = 1 << 3, EV_DOCUMENT_INFO_KEYWORDS = 1 << 4, EV_DOCUMENT_INFO_LAYOUT = 1 << 5, - EV_DOCUMENT_INFO_START_MODE = 1 << 6, - EV_DOCUMENT_INFO_CREATION_DATE = 1 << 7, - EV_DOCUMENT_INFO_UI_HINTS = 1 << 8, - EV_DOCUMENT_INFO_PERMISSIONS = 1 << 9, + EV_DOCUMENT_INFO_CREATOR = 1 << 6, + EV_DOCUMENT_INFO_PRODUCER = 1 << 7, + EV_DOCUMENT_INFO_CREATION_DATE = 1 << 8, + EV_DOCUMENT_INFO_MOD_DATE = 1 << 9, + EV_DOCUMENT_INFO_LINEARIZED = 1 << 10, + EV_DOCUMENT_INFO_START_MODE = 1 << 11, + EV_DOCUMENT_INFO_UI_HINTS = 1 << 12, + EV_DOCUMENT_INFO_PERMISSIONS = 1 << 13 } EvDocumentInfoFields; struct _EvDocumentInfo @@ -94,9 +98,13 @@ struct _EvDocumentInfo char *author; char *subject; char *keywords; + char *creator; + char *producer; + char *linearized; + GTime *creation_date; + GTime *modified_date; EvDocumentLayout layout; EvDocumentMode mode; - GDate creation_date; guint ui_hints; guint permissions; |