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 249573 220068cf53f96bc93566243d260d4df3b9a211fb
parent 249572 2967a5af97cbdf808d143ccc6db3238f6cd5f414
child 249574 299375b048b2ed1694d64d252e10af3c2ff5412a
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattn, sledru
bugs1118831
milestone37.0a2
Bug 1118831 - Loop: Click to add Hello icon to toolbar. r=mattn, a=sledru
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");
         if (!loopBrowser) {
           return null;
         }
         // Use the parentElement full-width container of the button so our arrow