Bug 1118831 - Loop: Click to add Hello icon to toolbar. r=mattn, a=sledru
authorJustin Dolske <dolske@mozilla.com>
Tue, 27 Jan 2015 14:16:37 -0800
changeset 243687 b005871a2349
parent 243686 fe2ce463edba
child 243688 756c22d18cdf
push id4436
push usermozilla@noorenberghe.ca
push date2015-02-05 02:33 +0000
treeherdermozilla-beta@5690b3943d75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattn, sledru
bugs1118831
milestone36.0
Bug 1118831 - Loop: Click to add Hello icon to toolbar. r=mattn, a=sledru
browser/modules/UITour.jsm
--- a/browser/modules/UITour.jsm
+++ b/browser/modules/UITour.jsm
@@ -113,21 +113,25 @@ this.UITour = {
                                                         "toolbarbutton-icon");
       },
       widgetName: "PanelUI-customize",
     }],
     ["devtools",    {query: "#developer-button"}],
     ["help",        {query: "#PanelUI-help"}],
     ["home",        {query: "#home-button"}],
     ["forget", {
+      allowAdd: true,
       query: "#panic-button",
       widgetName: "panic-button",
-      allowAdd: true,
     }],
-    ["loop",        {query: "#loop-button"}],
+    ["loop",        {
+      allowAdd: true,
+      query: "#loop-button",
+      widgetName: "loop-button",
+    }],
     ["loop-newRoom", {
       infoPanelPosition: "leftcenter topright",
       query: (aDocument) => {
         let loopBrowser = aDocument.querySelector("#loop-notification-panel > #loop");
         if (!loopBrowser) {
           return null;
         }
         // Use the parentElement full-width container of the button so our arrow