aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-03-05 23:00:10 +0800
committerChristian Persch <chpe@src.gnome.org>2006-03-05 23:00:10 +0800
commit0676c62283fc9ef0c51f36024b421dea289de589 (patch)
tree629881aac81187f076485588c3d0d2d28a0d55d2
parentdee7e0105749445ef85a35fbbff4663ab5869f80 (diff)
downloadgsoc2013-epiphany-0676c62283fc9ef0c51f36024b421dea289de589.tar
gsoc2013-epiphany-0676c62283fc9ef0c51f36024b421dea289de589.tar.gz
gsoc2013-epiphany-0676c62283fc9ef0c51f36024b421dea289de589.tar.bz2
gsoc2013-epiphany-0676c62283fc9ef0c51f36024b421dea289de589.tar.lz
gsoc2013-epiphany-0676c62283fc9ef0c51f36024b421dea289de589.tar.xz
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--ChangeLog6
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5044c048d..26de58e6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,