diff options
author | Wouter Bolsterlee <wbolster@cvs.gnome.org> | 2006-12-04 11:53:25 (GMT) |
---|---|---|
committer | Wouter Bolsterlee <wbolster@src.gnome.org> | 2006-12-04 11:53:25 (GMT) |
commit | 35512dd1ae66e5dbbeb490d3846dafcf150f1f28 (patch) | |
tree | 71ac4570190afa6c046b31490b8196cb14d97655 /backend/ev-document-info.h | |
parent | 1f4859f8061b8a03e8f75a5cbd26f16c19155670 (diff) |
Adds a paper size field to the properties dialog. Fixes bug #307315. Patch
2006-12-04 Wouter Bolsterlee <wbolster@cvs.gnome.org>
* backend/ev-document-info.h:
* data/evince-properties.glade:
* pdf/ev-poppler.cc:
* properties/ev-properties-view.c: (ev_regular_paper_size),
(ev_properties_view_set_info):
* ps/ps-document.c: (ps_document_get_info):
Adds a paper size field to the properties dialog. Fixes
bug #307315. Patch by Kasper Svendsen (with some i18n
changes done by me).
Diffstat (limited to 'backend/ev-document-info.h')
-rw-r--r-- | backend/ev-document-info.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backend/ev-document-info.h b/backend/ev-document-info.h index 3930910..0cd1ef8 100644 --- a/backend/ev-document-info.h +++ b/backend/ev-document-info.h @@ -90,7 +90,8 @@ typedef enum EV_DOCUMENT_INFO_UI_HINTS = 1 << 12, EV_DOCUMENT_INFO_PERMISSIONS = 1 << 13, EV_DOCUMENT_INFO_N_PAGES = 1 << 14, - EV_DOCUMENT_INFO_SECURITY = 1 << 15 + EV_DOCUMENT_INFO_SECURITY = 1 << 15, + EV_DOCUMENT_INFO_PAPER_SIZE = 1 << 16 } EvDocumentInfoFields; struct _EvDocumentInfo @@ -111,6 +112,8 @@ struct _EvDocumentInfo guint ui_hints; guint permissions; int n_pages; + double paper_height; + double paper_width; /* Mask of all the valid fields */ guint fields_mask; |