Bug 1118831 - Loop: click to add Hello icon to toolbar. r=mattn
authorJustin Dolske <dolske@mozilla.com>
Tue, 27 Jan 2015 14:16:37 -0800
changeset 239348 1cb7264b9553bd7220a238a1c665f6750aa936fc
parent 239347 31f70be9d69ab902a9cc3a5b6ddc695a1711fa74
child 239349 9b1ebcd6d253d5d4558bd1e24041064853867794
push id497
push usermleibovic@mozilla.com
push dateWed, 28 Jan 2015 16:43:37 +0000
reviewersmattn
bugs1118831
milestone38.0a1
Bug 1118831 - Loop: click to add Hello icon to toolbar. r=mattn
browser/components/uitour/UITour.jsm
--- a/browser/components/uitour/UITour.jsm
+++ b/browser/components/uitour/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-panel-iframe");
         if (!loopBrowser) {
           return null;
         }
         // Use the parentElement full-width container of the button so our arrow