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:56:13 -0500
changeset 167877 9847fa0e68e48da26052b6d4bd057ceaf618e3ba
parent 167876 0366c03687fa785b9d0f0e5fa889fa454923673e
child 167878 c14b5cb7d00e104bede2d7151f89af85ef55bb6f
push id428
push userbbajaj@mozilla.com
push dateTue, 28 Jan 2014 00:16:25 +0000
treeherdermozilla-release@cd72a7ff3a75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarkh, bajaj
bugs956907
milestone27.0
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[