diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/MozRegisterComponents.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2006-03-05 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/MozRegisterComponents.cpp: + + Use the right category. + +2006-03-05 Christian Persch <chpe@cvs.gnome.org> + * data/mime-types-permissions.xml: Mark application/x-xpinstall as unsafe. diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp index 017623bb9..0c46f12f0 100644 --- a/embed/mozilla/MozRegisterComponents.cpp +++ b/embed/mozilla/MozRegisterComponents.cpp @@ -106,7 +106,7 @@ RegisterCategories (void) nsnull); /* Unregister the XPI install trigger, so we can just download .xpi files */ - rv |= catMan->DeleteCategoryEntry (JAVASCRIPT_GLOBAL_PROPERTY_CATEGORY, + rv |= catMan->DeleteCategoryEntry (JAVASCRIPT_GLOBAL_CONSTRUCTOR_CATEGORY, "InstallVersion", PR_FALSE /* don't persist */); rv |= catMan->DeleteCategoryEntry (JAVASCRIPT_GLOBAL_PROPERTY_CATEGORY, |