diff --git a/browser/base/content/aboutHome-snippet1.png b/browser/base/content/aboutHome-snippet1.png new file mode 100644 index 000000000000..22a260da2c58 Binary files /dev/null and b/browser/base/content/aboutHome-snippet1.png differ diff --git a/browser/base/content/aboutHome-snippet2.png b/browser/base/content/aboutHome-snippet2.png new file mode 100644 index 000000000000..e0724fb6df5b Binary files /dev/null and b/browser/base/content/aboutHome-snippet2.png differ diff --git a/browser/base/content/aboutHome.css b/browser/base/content/aboutHome.css index 99f8d3f27b5c..5c0d6cf88725 100644 --- a/browser/base/content/aboutHome.css +++ b/browser/base/content/aboutHome.css @@ -254,6 +254,26 @@ body[dir=rtl] #searchSubmit:active { 0 1px 0 rgba(255,255,255,.5); } +#defaultSnippet1, +#defaultSnippet2 { + display: table-row; + text-align: start; +} + +#defaultSnippet1::before, +#defaultSnippet2::before { + display: table-cell; + vertical-align: middle; + -moz-padding-end: 1em; +} + +#defaultSnippet1::before { + content: url("chrome://browser/content/aboutHome-snippet1.png"); +} +#defaultSnippet2::before { + content: url("chrome://browser/content/aboutHome-snippet2.png"); +} + #sessionRestoreContainer { padding-top: 1.5%; text-align: center; diff --git a/browser/base/content/aboutHome.js b/browser/base/content/aboutHome.js index 6a0e98b9266b..0faf71ab4913 100644 --- a/browser/base/content/aboutHome.js +++ b/browser/base/content/aboutHome.js @@ -141,8 +141,8 @@ const SEARCH_ENGINES = { // * add an entry here in the proper ordering (based on spans) // The part of the snippet will be linked to the corresponding url. const DEFAULT_SNIPPETS_URLS = [ - "http://www.mozilla.com/firefox/4.0/features" -, "https://addons.mozilla.org/firefox/?src=snippet" + "http://www.mozilla.com/firefox/features/?WT.mc_ID=default1" +, "https://addons.mozilla.org/firefox/?src=snippet&WT.mc_ID=default2" ]; const SNIPPETS_UPDATE_INTERVAL_MS = 86400000; // 1 Day. diff --git a/browser/base/content/aboutHome.xhtml b/browser/base/content/aboutHome.xhtml index 9b62b87d378e..fcc80878a10c 100644 --- a/browser/base/content/aboutHome.xhtml +++ b/browser/base/content/aboutHome.xhtml @@ -87,8 +87,8 @@
diff --git a/browser/base/jar.mn b/browser/base/jar.mn index fb931687155c..ac0f5547e7b6 100644 --- a/browser/base/jar.mn +++ b/browser/base/jar.mn @@ -21,6 +21,8 @@ browser.jar: * content/browser/aboutHome.css (content/aboutHome.css) content/browser/aboutHome-restore-icon.png (content/aboutHome-restore-icon.png) content/browser/aboutHome-restore-icon-small.png (content/aboutHome-restore-icon-small.png) + content/browser/aboutHome-snippet1.png (content/aboutHome-snippet1.png) + content/browser/aboutHome-snippet2.png (content/aboutHome-snippet2.png) content/browser/aboutRobots-icon.png (content/aboutRobots-icon.png) content/browser/aboutRobots-widget-left.png (content/aboutRobots-widget-left.png) * content/browser/browser.css (content/browser.css)