Bug 678660: Hide about:newaddon from about:about, because it closes itself. r=rstrong

This commit is contained in:
Steffen Wilberg 2011-08-14 10:00:25 +02:00
parent 08b5ebfce8
commit ea8e34f343

View File

@ -91,7 +91,8 @@ static RedirEntry kRedirMap[] = {
{ "addons", "chrome://mozapps/content/extensions/extensions.xul",
nsIAboutModule::ALLOW_SCRIPT },
{ "newaddon", "chrome://mozapps/content/extensions/newaddon.xul",
nsIAboutModule::ALLOW_SCRIPT },
nsIAboutModule::ALLOW_SCRIPT |
nsIAboutModule::HIDE_FROM_ABOUTABOUT },
{ "support", "chrome://global/content/aboutSupport.xhtml",
nsIAboutModule::ALLOW_SCRIPT }
};