summaryrefslogtreecommitdiff
path: root/makeicecat
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@gnu.org>2018-09-13 20:46:17 -0400
committerRuben Rodriguez <ruben@gnu.org>2018-09-13 21:02:13 -0400
commitf70c9f0704ca1dc285b319ee4e77f2dd6395623a (patch)
treea9ee7b45c40aede9a854da53cb6de7f4b97d4a5c /makeicecat
parent5a45a40ea73345cc80eed889d64368e850536c31 (diff)
Some customizations to the UI
Diffstat (limited to 'makeicecat')
-rw-r--r--makeicecat8
1 files changed, 4 insertions, 4 deletions
diff --git a/makeicecat b/makeicecat
index 5fce27d..3bb16a1 100644
--- a/makeicecat
+++ b/makeicecat
@@ -267,8 +267,6 @@ sed '/name: "snippets"/,/value/s/value: true/value: false/' -i browser/extension
sed '/name: "telemetry"/,/value/s/value: true/value: false/' -i browser/extensions/activity-stream/lib/ActivityStream.jsm
sed '/name: "section.topstories"/,/return/s/return.*/return false;/' -i browser/extensions/activity-stream/lib/ActivityStream.jsm
-# Remove the iOS link
-sed '/iOS/d; /fxaMobilePromo-ios/d;' -i browser/components/preferences/in-content/sync.xul
###############################################################################
# Branding
@@ -324,6 +322,9 @@ sed -i 's/<a\ href\=\"http\:\/\/www.mozilla.org\/\">Mozilla\ Project<\/a>/<a\ hr
# Custom logo for about:preferences?entrypoint=menupanel#sync
cp $DATA/branding/sync.png browser/themes/shared/fxa/logo.png
+# Hide mobile promo
+echo ".fxaMobilePromo { display: none !important; }" >> browser/themes/shared/incontentprefs/preferences.inc.css
+
# Hide plugindeprecation-notice
echo "#plugindeprecation-notice { display: none !important; }" >> toolkit/mozapps/extensions/content/extensions.css
# Hide warnings on unsigned extensions
@@ -549,7 +550,7 @@ browser.search.order.2=Google
browser.search.order.3=Yahoo
EOF
-cp $DATA/preferences_vendor.xml mobile/android/base/resources/xml/preferences_vendor.xml
+cp $DATA/preferences_vendor.xml ./mobile/android/app/src/main/res/xml/preferences_vendor.xml
sed '/public static void checkAndNotifyPolicy/ s/{/{ if(true) return;/; /private static void notifyDataPolicy/ s/{/{ if(true) return;/ ' -i mobile/android/base/java/org/mozilla/gecko/DataReportingNotification.java
@@ -557,7 +558,6 @@ cp -a $DATA/android-images/core/* mobile/android/themes/core/images/
cp -a $DATA/android-images/resources mobile/android/base
sed '/aboutDetails/,/div/d; /privacyURL/d' mobile/android/chrome/content/about.xhtml -i
-#sed '/suggested_sites/,/defaultValue/d' mobile/android/base/resources/xml/preferences_home.xml -i
sed '/SENDERID/d' -i mobile/android/app/mobile.js