diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-12-01 16:26:26 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-12-01 16:26:26 -0500 |
commit | e5e21699ca95369651670a302fde26dc6c19b4bd (patch) | |
tree | 7d6a445040cd9224adda20d1bc2991a3671a1b15 /application/palemoon/components/abouthome | |
parent | f8e83e7e6dacb7fe00ccb52f62af634bc05dbdfc (diff) | |
download | UXP-e5e21699ca95369651670a302fde26dc6c19b4bd.tar UXP-e5e21699ca95369651670a302fde26dc6c19b4bd.tar.gz UXP-e5e21699ca95369651670a302fde26dc6c19b4bd.tar.lz UXP-e5e21699ca95369651670a302fde26dc6c19b4bd.tar.xz UXP-e5e21699ca95369651670a302fde26dc6c19b4bd.zip |
[PALEMOON] Complete making Sync optional at build time
Diffstat (limited to 'application/palemoon/components/abouthome')
-rw-r--r-- | application/palemoon/components/abouthome/aboutHome.css | 4 | ||||
-rw-r--r-- | application/palemoon/components/abouthome/aboutHome.xhtml | 2 | ||||
-rw-r--r-- | application/palemoon/components/abouthome/jar.mn | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/application/palemoon/components/abouthome/aboutHome.css b/application/palemoon/components/abouthome/aboutHome.css index 73c686202..2b062e8e7 100644 --- a/application/palemoon/components/abouthome/aboutHome.css +++ b/application/palemoon/components/abouthome/aboutHome.css @@ -262,9 +262,11 @@ body[narrow] #restorePreviousSession { content: url("chrome://browser/content/abouthome/addons.png"); } +%ifdef MOZ_SERVICES_SYNC #sync::before { content: url("chrome://browser/content/abouthome/sync.png"); } +%endif #settings::before { content: url("chrome://browser/content/abouthome/settings.png"); @@ -320,9 +322,11 @@ body[narrow] #restorePreviousSession::before { content: url("chrome://browser/content/abouthome/addons@2x.png"); } +%ifdef MOZ_SERVICES_SYNC #sync::before { content: url("chrome://browser/content/abouthome/sync@2x.png"); } +%endif #settings::before { content: url("chrome://browser/content/abouthome/settings@2x.png"); diff --git a/application/palemoon/components/abouthome/aboutHome.xhtml b/application/palemoon/components/abouthome/aboutHome.xhtml index cb3fa634a..d72ec492e 100644 --- a/application/palemoon/components/abouthome/aboutHome.xhtml +++ b/application/palemoon/components/abouthome/aboutHome.xhtml @@ -51,7 +51,9 @@ <button class="launchButton" id="bookmarks">&abouthome.bookmarksButton.label;</button> <button class="launchButton" id="history">&abouthome.historyButton.label;</button> <button class="launchButton" id="addons">&abouthome.addonsButton.label;</button> +#ifdef MOZ_SERVICES_SYNC <button class="launchButton" id="sync">&abouthome.syncButton.label;</button> +#endif <button class="launchButton" id="settings">&abouthome.settingsButton.label;</button> <div id="restorePreviousSessionSeparator"/> <button class="launchButton" id="restorePreviousSession">&historyRestoreLastSession.label;</button> diff --git a/application/palemoon/components/abouthome/jar.mn b/application/palemoon/components/abouthome/jar.mn index d44583665..4f39df300 100644 --- a/application/palemoon/components/abouthome/jar.mn +++ b/application/palemoon/components/abouthome/jar.mn @@ -3,7 +3,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. browser.jar: - content/browser/abouthome/aboutHome.xhtml +* content/browser/abouthome/aboutHome.xhtml content/browser/abouthome/aboutHome.js * content/browser/abouthome/aboutHome.css content/browser/abouthome/noise.png |