]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-properties.c
Implement orientation here too
[evince.git] / shell / ev-properties.c
index e8eca8f48d5539e610afe52a295073ce16e256e0..295194f47888c5dc295c3834fb8ffd985bf78160 100644 (file)
@@ -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); 
 }