X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=properties%2Fev-properties-main.c;h=15988cfc6166e15ad4308f516c9b4e71212f2fb3;hb=f51872613abaaa42c716e2fe6a2e4695c529dc4b;hp=32677fc1839c0c5e1b3e3acd89d6a44ffa1c9cc8;hpb=47fb87e520d1abe31a1965d500602e0e80e899b2;p=evince.git diff --git a/properties/ev-properties-main.c b/properties/ev-properties-main.c index 32677fc1..15988cfc 100644 --- a/properties/ev-properties-main.c +++ b/properties/ev-properties-main.c @@ -28,6 +28,7 @@ */ #include "ev-properties-view.h" +#include "ev-backends-manager.h" #include "ev-document-factory.h" #include @@ -103,6 +104,9 @@ ev_properties_get_pages (NautilusPropertyPageProvider *provider, g_error_free (error); goto end; } + + if (!document) + goto end; label = gtk_label_new (_("Document")); page = ev_properties_view_new (); @@ -130,6 +134,8 @@ nautilus_module_initialize (GTypeModule *module) /* set up translation catalog */ bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + + ev_backends_manager_init (); } void