diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-04-17 04:52:39 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-04-17 04:52:39 -0400 |
commit | 7008afd8e0c91fa97f37f0cf72b4a225e681c4be (patch) | |
tree | 07aa545b9d9efd3a5796be8a3e6e458409b56ec4 /application/basilisk/base/content/abouthome | |
parent | df0c78a8cbaf02fcd9fcd95a3eeb4cb68464300a (diff) | |
download | UXP-7008afd8e0c91fa97f37f0cf72b4a225e681c4be.tar UXP-7008afd8e0c91fa97f37f0cf72b4a225e681c4be.tar.gz UXP-7008afd8e0c91fa97f37f0cf72b4a225e681c4be.tar.lz UXP-7008afd8e0c91fa97f37f0cf72b4a225e681c4be.tar.xz UXP-7008afd8e0c91fa97f37f0cf72b4a225e681c4be.zip |
[BASILISK] Port PM Sync Client - Part 6a: Obvious ifdef'ing and clean up
Diffstat (limited to 'application/basilisk/base/content/abouthome')
-rw-r--r-- | application/basilisk/base/content/abouthome/aboutHome.css | 4 | ||||
-rw-r--r-- | application/basilisk/base/content/abouthome/aboutHome.xhtml | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/application/basilisk/base/content/abouthome/aboutHome.css b/application/basilisk/base/content/abouthome/aboutHome.css index bc3f9882c..86f74727f 100644 --- a/application/basilisk/base/content/abouthome/aboutHome.css +++ b/application/basilisk/base/content/abouthome/aboutHome.css @@ -283,9 +283,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"); @@ -369,9 +371,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/basilisk/base/content/abouthome/aboutHome.xhtml b/application/basilisk/base/content/abouthome/aboutHome.xhtml index 22bf2e7e8..90daad2dc 100644 --- a/application/basilisk/base/content/abouthome/aboutHome.xhtml +++ b/application/basilisk/base/content/abouthome/aboutHome.xhtml @@ -54,7 +54,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 #ifdef XP_WIN <button class="launchButton" id="settings">&abouthome.preferencesButtonWin.label;</button> #else |