Bug 1013989: change the label of the Loop button to Hello. r=MattN a=lmandel
authorMike de Boer <mdeboer@mozilla.com>
Thu, 16 Oct 2014 22:19:03 +0200
changeset 225736 2edc9ed56fa4
parent 225735 3fc523fcc7da
child 225737 a4e22c4da890
push id3995
push userrjesup@wgate.com
push date2014-10-20 00:58 +0000
treeherdermozilla-beta@8c42ccaf8aa1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN, lmandel
bugs1013989
milestone34.0
Bug 1013989: change the label of the Loop button to Hello. r=MattN a=lmandel
browser/components/customizableui/CustomizableWidgets.jsm
--- a/browser/components/customizableui/CustomizableWidgets.jsm
+++ b/browser/components/customizableui/CustomizableWidgets.jsm
@@ -902,18 +902,17 @@ const CustomizableWidgets = [{
       win.MailIntegration.sendLinkForWindow(win.content);
     }
   }];
 
 if (Services.prefs.getBoolPref("loop.enabled") && !Services.prefs.getBoolPref("loop.throttled")) {
   CustomizableWidgets.push({
     id: "loop-call-button",
     type: "custom",
-    // XXX Bug 1013989 will provide a label for the button
-    label: "loop-call-button.label",
+    label: "Hello",
     tooltiptext: "loop-call-button.tooltiptext",
     onBuild: function(aDocument) {
       let node = aDocument.createElementNS(kNSXUL, "toolbarbutton");
       node.setAttribute("id", this.id);
       node.classList.add("toolbarbutton-1");
       node.classList.add("chromeclass-toolbar-additional");
       node.setAttribute("type", "badged");
       node.setAttribute("label", CustomizableUI.getLocalizedProperty(this, "label"));