diff --git a/mobile/chrome/content/bindings/downloads.xml b/mobile/chrome/content/bindings/downloads.xml index 14ed26d1d6d8..8fa017c563a1 100644 --- a/mobile/chrome/content/bindings/downloads.xml +++ b/mobile/chrome/content/bindings/downloads.xml @@ -56,7 +56,7 @@ - + @@ -76,7 +76,7 @@ - + @@ -96,7 +96,7 @@ - + @@ -106,14 +106,15 @@ - + - + diff --git a/mobile/chrome/content/downloads.js b/mobile/chrome/content/downloads.js index 3303fc7df9eb..52583cb9e47b 100644 --- a/mobile/chrome/content/downloads.js +++ b/mobile/chrome/content/downloads.js @@ -275,7 +275,6 @@ var DownloadsView = { let strings = document.getElementById("bundle_browser"); let status = ""; - let state = Number(aItem.getAttribute("state")); // Display the file size, but show "Unknown" for negative sizes let fileSize = Number(aItem.getAttribute("maxBytes")); @@ -286,7 +285,7 @@ var DownloadsView = { sizeText = this._replaceInsert(sizeText, 2, unit); } - // Insert 1 is the download size or download state + // Insert 1 is the download size status = this._replaceInsert(strings.getString("downloadsStatus"), 1, sizeText); // Insert 2 is the eTLD + 1 or other variations of the host diff --git a/mobile/locales/en-US/chrome/browser.dtd b/mobile/locales/en-US/chrome/browser.dtd index e22eb3fd838c..5edb48178684 100644 --- a/mobile/locales/en-US/chrome/browser.dtd +++ b/mobile/locales/en-US/chrome/browser.dtd @@ -66,6 +66,7 @@ + diff --git a/mobile/themes/hildon/browser.css b/mobile/themes/hildon/browser.css index d433cb30e37a..48487de14a3c 100644 --- a/mobile/themes/hildon/browser.css +++ b/mobile/themes/hildon/browser.css @@ -404,6 +404,11 @@ toolbarbutton.page-button { -moz-image-region: rect(90px 78px 108px 0px); } +/* downloads panel UI ---------------------------------------------------- */ +.download-retry-failed { + color: red !important; +} + /* console panel UI ------------------------------------------------------ */ @media (orientation: landscape) { #console-filter-warnings, diff --git a/mobile/themes/wince/browser.css b/mobile/themes/wince/browser.css index 8cc2d4bedd4a..75e997ddc771 100644 --- a/mobile/themes/wince/browser.css +++ b/mobile/themes/wince/browser.css @@ -192,6 +192,11 @@ toolbarbutton.page-button { color: #aaa !important; } +/* downloads panel UI ---------------------------------------------------- */ +.download-retry-failed { + color: red !important; +} + /* console panel UI ------------------------------------------------------ */ @media (orientation: landscape) { #console-filter-warnings,