From 8cb8940c4178ec97d2557f40e77e462badbe26f5 Mon Sep 17 00:00:00 2001 From: Gavin Sharp Date: Sun, 6 Sep 2009 21:13:38 -0400 Subject: [PATCH] Bug 514953: unbranded fennec builds should point to unbranded about:rights, r=mfinkle --HG-- extra : rebase_source : 5e06fb215723a038f3ed465326531bb77cd85be2 --- mobile/components/AboutRedirector.js | 4 ++++ mobile/components/Makefile.in | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/mobile/components/AboutRedirector.js b/mobile/components/AboutRedirector.js index 96a2b59bfcf..a190a5e63f6 100644 --- a/mobile/components/AboutRedirector.js +++ b/mobile/components/AboutRedirector.js @@ -50,7 +50,11 @@ let modules = { privileged: false }, rights: { +#ifdef MOZ_OFFICIAL_BRANDING uri: "chrome://global/content/aboutRights.xhtml", +#else + uri: "chrome://global/content/aboutRights-unbranded.xhtml", +#endif privileged: false } } diff --git a/mobile/components/Makefile.in b/mobile/components/Makefile.in index bafe71b417c..c43fb983970 100644 --- a/mobile/components/Makefile.in +++ b/mobile/components/Makefile.in @@ -46,11 +46,9 @@ include $(DEPTH)/config/autoconf.mk MODULE = browsercomps XPIDL_MODULE = browsercompsbase -#XPIDLSRCS = \ -# $(NULL) +EXTRA_PP_COMPONENTS = AboutRedirector.js EXTRA_COMPONENTS = \ - AboutRedirector.js \ geolocationPrompt.js \ alertsService.js \ xpiDialogService.js \