From 5e98ba44a86ca00235782fc893ec9587ec1aebf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Sat, 18 Jan 2014 14:23:13 +0100 Subject: [PATCH] Backed out Australis changeset b1494e03f231 --- .../customizableui/content/panelUI.js | 24 ------------------- .../customizableui/panelUIOverlay.inc.css | 1 - 2 files changed, 25 deletions(-) diff --git a/browser/components/customizableui/content/panelUI.js b/browser/components/customizableui/content/panelUI.js index e90327df0007..70f020e86d1f 100644 --- a/browser/components/customizableui/content/panelUI.js +++ b/browser/components/customizableui/content/panelUI.js @@ -207,8 +207,6 @@ const PanelUI = { return this._readyPromise; } this._readyPromise = Task.spawn(function() { - this.contents.setAttributeNS("http://www.w3.org/XML/1998/namespace", "lang", - getLocale()); if (!this._scrollWidth) { // In order to properly center the contents of the panel, while ensuring // that we have enough space on either side to show a scrollbar, we have to @@ -414,25 +412,3 @@ const PanelUI = { this.removeEventListener("command", PanelUI.onCommandHandler); } }; - -/** - * Gets the currently selected locale for display. - * @return the selected locale or "en-US" if none is selected - */ -function getLocale() { - try { - let locale = Services.prefs.getComplexValue(PREF_SELECTED_LOCALE, - Ci.nsIPrefLocalizedString); - if (locale) - return locale; - } - catch (e) { } - - try { - return Services.prefs.getCharPref(PREF_SELECTED_LOCALE); - } - catch (e) { } - - return "en-US"; -} - diff --git a/browser/themes/shared/customizableui/panelUIOverlay.inc.css b/browser/themes/shared/customizableui/panelUIOverlay.inc.css index 6967e9b01106..7015acdafef3 100644 --- a/browser/themes/shared/customizableui/panelUIOverlay.inc.css +++ b/browser/themes/shared/customizableui/panelUIOverlay.inc.css @@ -77,7 +77,6 @@ toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-it font-size: 10px; margin: 2px 0 0; text-align: center; - -moz-hyphens: auto; } #wrapper-edit-controls:-moz-any([place="palette"],[place="panel"]) > #edit-controls,