From 43caa48ecba88a60b7b0b84d19d928ada8b22b09 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Thu, 26 Apr 2018 06:17:52 +0200 Subject: Bug 1038811 - Push Notifications - Firefox front end changes for preferences, and permission notification --- application/palemoon/app/profile/palemoon.js | 1 + application/palemoon/base/content/browser.xul | 1 + application/palemoon/components/nsBrowserGlue.js | 41 ++++++++++++++++++++- .../components/preferences/aboutPermissions.js | 19 +++++++++- .../components/preferences/aboutPermissions.xul | 20 ++++++++++ .../en-US/chrome/browser/browser.properties | 9 +++++ .../browser/preferences/aboutPermissions.dtd | 2 + application/palemoon/themes/linux/Push-16.png | Bin 0 -> 606 bytes application/palemoon/themes/linux/Push-64.png | Bin 0 -> 8056 bytes application/palemoon/themes/linux/browser.css | 8 ++++ application/palemoon/themes/linux/jar.mn | 2 + .../themes/linux/preferences/aboutPermissions.css | 3 ++ application/palemoon/themes/osx/Push-16.png | Bin 0 -> 312 bytes application/palemoon/themes/osx/Push-64.png | Bin 0 -> 8490 bytes application/palemoon/themes/osx/browser.css | 8 ++++ application/palemoon/themes/osx/jar.mn | 2 + .../themes/osx/preferences/aboutPermissions.css | 3 ++ application/palemoon/themes/windows/Push-16.png | Bin 0 -> 704 bytes application/palemoon/themes/windows/Push-64.png | Bin 0 -> 8388 bytes application/palemoon/themes/windows/browser.css | 8 ++++ application/palemoon/themes/windows/jar.mn | 2 + .../windows/preferences/aboutPermissions.css | 3 ++ 22 files changed, 129 insertions(+), 3 deletions(-) create mode 100644 application/palemoon/themes/linux/Push-16.png create mode 100644 application/palemoon/themes/linux/Push-64.png create mode 100644 application/palemoon/themes/osx/Push-16.png create mode 100644 application/palemoon/themes/osx/Push-64.png create mode 100644 application/palemoon/themes/windows/Push-16.png create mode 100644 application/palemoon/themes/windows/Push-64.png diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js index ee4a95d38..20919eca4 100644 --- a/application/palemoon/app/profile/palemoon.js +++ b/application/palemoon/app/profile/palemoon.js @@ -756,6 +756,7 @@ pref("goanna.handlerService.allowRegisterFromDifferentHost", false); pref("browser.geolocation.warning.infoURL", "http://www.palemoon.org/info-url/geolocation.shtml"); pref("browser.mixedcontent.warning.infoURL", "http://www.palemoon.org/info-url/mixedcontent.shtml"); +pref("browser.push.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/push/"); pref("browser.EULA.version", 3); pref("browser.rights.version", 3); diff --git a/application/palemoon/base/content/browser.xul b/application/palemoon/base/content/browser.xul index c2553f295..6545e0ac2 100644 --- a/application/palemoon/base/content/browser.xul +++ b/application/palemoon/base/content/browser.xul @@ -449,6 +449,7 @@