diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-03-05 23:00:10 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-03-05 23:00:10 +0800 |
commit | 0676c62283fc9ef0c51f36024b421dea289de589 (patch) | |
tree | 629881aac81187f076485588c3d0d2d28a0d55d2 | |
parent | dee7e0105749445ef85a35fbbff4663ab5869f80 (diff) | |
download | gsoc2013-epiphany-0676c62283fc9ef0c51f36024b421dea289de589.tar.gz gsoc2013-epiphany-0676c62283fc9ef0c51f36024b421dea289de589.tar.zst gsoc2013-epiphany-0676c62283fc9ef0c51f36024b421dea289de589.zip |
Use the right category.
2006-03-05 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/MozRegisterComponents.cpp:
Use the right category.
-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, |