diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2005-06-14 21:28:47 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-06-14 21:28:47 (GMT) |
commit | 34af9d3d79512725f33a28299f92f39997290181 (patch) | |
tree | 1154205a6f0c0b1b31432f5d9f0422e56f57de6f /shell/ev-properties.c | |
parent | 79986dda7231d1ef1c530909bde8e18a507a2a2a (diff) |
Implement orientation here too
2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
* ps/gstypes.h:
* ps/ps-document.c: (ps_document_init), (get_page_orientation),
(ps_document_set_orientation), (ps_document_document_iface_init):
* ps/ps-document.h:
Implement orientation here too
* shell/ev-properties.c: (ev_properties_new):
* data/evince-properties.glade:
Hide the fonts page for backends that doesnt
support it.
Diffstat (limited to 'shell/ev-properties.c')
-rw-r--r-- | shell/ev-properties.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/ev-properties.c b/shell/ev-properties.c index e8eca8f..295194f 100644 --- a/shell/ev-properties.c +++ b/shell/ev-properties.c @@ -245,7 +245,11 @@ ev_properties_new (EvDocument *document, const EvDocumentInfo *info) set_property (xml, SECURITY_PROPERTY, info->security); } - setup_fonts_view (xml, document); + if (EV_IS_DOCUMENT_FONTS (document)) { + setup_fonts_view (xml, document); + } else { + gtk_widget_hide (glade_xml_get_widget (xml, "fonts_page")); + } return GTK_DIALOG (dialog); } |