diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/ephy-extensions-manager.c | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index ecad19dbf..86899bcfc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -228,6 +228,7 @@ pydefsdir = $(datadir)/pygtk/2.0/defs pydefs_DATA = epiphany.defs EXTRA_DIST = \ + epiphany.override \ $(pydefs_DATA) endif diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c index f38a6ad43..055178a56 100644 --- a/src/ephy-extensions-manager.c +++ b/src/ephy-extensions-manager.c @@ -758,9 +758,9 @@ get_loader_for_type (EphyExtensionsManager *manager, return g_object_ref (info->loader); } -#ifdef ENABLE_PYTHON if (strcmp (type, "python") == 0) { +#ifdef ENABLE_PYTHON info = g_new (LoaderInfo, 1); info->type = g_strdup (type); info->loader = g_object_new (EPHY_TYPE_PYTHON_LOADER, NULL); @@ -769,8 +769,10 @@ get_loader_for_type (EphyExtensionsManager *manager, g_list_append (manager->priv->factories, info); return g_object_ref (info->loader); - } +#else + return NULL; #endif + } stype = sanitise_type (type); name = g_strconcat ("lib", stype, "loader.", G_MODULE_SUFFIX, NULL); @@ -838,7 +840,7 @@ load_extension (EphyExtensionsManager *manager, loader = get_loader_for_type (manager, info->loader_type); if (loader == NULL) { - g_warning ("No loader found for extension '%s' of type '%s'\n", + g_message ("No loader found for extension '%s' of type '%s'\n", info->info.identifier, info->loader_type); return; } |