Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey)

This commit is contained in:
bsmedberg@covad.net
2005-03-10 04:38:35 +00:00
parent 54cf480ec0
commit e5d41e5978
86 changed files with 290 additions and 98 deletions

View File

@@ -744,7 +744,7 @@ nsWindowsShellService::SetDesktopBackground(nsIDOMElement* aElement,
nsCOMPtr<nsIStringBundleService> bundleService(do_GetService(bundleCID));
if (bundleService) {
nsCOMPtr<nsIStringBundle> brandBundle;
rv = bundleService->CreateBundle("chrome://global/locale/brand.properties",
rv = bundleService->CreateBundle("chrome://branding/locale/brand.properties",
getter_AddRefs(brandBundle));
if (NS_SUCCEEDED(rv) && brandBundle) {
if (NS_FAILED(rv = brandBundle->GetStringFromName(NS_LITERAL_STRING("brandShortName").get(),