Bug 956907 - Fix the state of the icons used for marks. r=markh, a=bajaj
authorShane Caraveo <scaraveo@mozilla.com>
Wed, 08 Jan 2014 16:48:42 -0500
changeset 175622 c7fd747d671862abfaed5f68e2447908faef707e
parent 175621 ef25b3b02dcc4a2575246b80416b1550ba97ed11
child 175623 2c8f8683bd0d08b8f549bc139176677daaa99fa7
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarkh, bajaj
bugs956907
milestone28.0a2
Bug 956907 - Fix the state of the icons used for marks. r=markh, a=bajaj
browser/base/content/socialmarks.xml
--- a/browser/base/content/socialmarks.xml
+++ b/browser/base/content/socialmarks.xml
@@ -47,19 +47,19 @@
 
       <property name="isMarked">
         <setter>
           this._isMarked = val;
           let provider = this.provider;
           // we cannot size the image when we apply it via listStyleImage, so
           // use the toolbar image
           if (val)
-            this.setAttribute("image", provider.unmarkedIcon || provider.iconURL);
+            this.setAttribute("image", provider.markedIcon || provider.iconURL);
           else
-            this.setAttribute("image", provider.markedIcon || provider.iconURL);
+            this.setAttribute("image", provider.unmarkedIcon || provider.iconURL);
         </setter>
         <getter>
           return this._isMarked;
         </getter>
       </property>
 
       <method name="update">
         <body><![CDATA[