Bug 1393237 - Bookmark star has wrong tooltip after bookmarking a page. r?jaws draft
authorDrew Willcoxon <adw@mozilla.com>
Wed, 23 Aug 2017 14:58:39 -0700
changeset 651657 785f6ac2ca5fed0e24d1920666cfc615d9c00803
parent 651436 33a71f3104fbac1883d3970ded6216bc3b8e0dd1
child 727840 7cdbbc9e1c1f9c3f70b7f16055c091db3f27b0d8
push id75786
push userdwillcoxon@mozilla.com
push dateWed, 23 Aug 2017 21:59:38 +0000
reviewersjaws
bugs1393237
milestone57.0a1
Bug 1393237 - Bookmark star has wrong tooltip after bookmarking a page. r?jaws MozReview-Commit-ID: IFkSKq0gNYv
browser/base/content/browser.xul
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -879,22 +879,22 @@
                        tooltiptext="&pageActionButton.tooltip;"
                        onclick="BrowserPageActions.mainButtonClicked(event);"/>
                 <hbox id="star-button-box"
                       hidden="true"
                       class="urlbar-icon-wrapper"
                       context="pageActionPanelContextMenu"
                       oncontextmenu="BrowserPageActions.onContextMenu(event);"
                       onclick="BrowserPageActions.bookmark.onUrlbarNodeClicked(event);">
-                  <image id="star-button" class="urlbar-icon">
-                    <observes element="bookmarkThisPageBroadcaster" attribute="starred"/>
-                    <observes element="bookmarkThisPageBroadcaster" attribute="tooltiptext"/>
-                  </image>
+                  <image id="star-button"
+                         class="urlbar-icon"
+                         observes="bookmarkThisPageBroadcaster"/>
                   <hbox id="star-button-animatable-box">
-                    <image id="star-button-animatable-image"/>
+                    <image id="star-button-animatable-image"
+                           observes="bookmarkThisPageBroadcaster"/>
                   </hbox>
                 </hbox>
               </hbox>
             </textbox>
         </toolbaritem>
 
         <toolbaritem id="search-container" title="&searchItem.title;"
                      align="center" class="chromeclass-toolbar-additional panel-wide-item"