Bug 1521481 - Hide chat conversation number indicator when its value is "0" by copying the xbl:inherits to the surrounding box. r=florian a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Mon, 21 Jan 2019 17:49:00 +0100
changeset 33963 fa0f40f25bae898175e89590f4c2d23770a49fb5
parent 33962 96dae5ff0c34d168a5cca855447aed5ed464fa7e
child 33964 628e8580a26daeae2cc617cda8611565d469c351
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersflorian, jorgk
bugs1521481
Bug 1521481 - Hide chat conversation number indicator when its value is "0" by copying the xbl:inherits to the surrounding box. r=florian a=jorgk
mail/components/im/content/imconv.xml
--- a/mail/components/im/content/imconv.xml
+++ b/mail/components/im/content/imconv.xml
@@ -25,17 +25,18 @@
       </xul:stack>
       <xul:hbox flex="1" class="conv-hbox" mousethrough="always">
         <xul:label crop="end" flex="1" mousethrough="always"
                    anonid="displayname" class="convDisplayName blistDisplayName"
                    xbl:inherits="value=displayname,status"/>
         <xul:label anonid="unreadCount" class="convUnreadCount"
                    crop="end" mousethrough="never"
                    xbl:inherits="value=unreadCount"/>
-        <xul:box class="convUnreadTargetedCount">
+        <xul:box class="convUnreadTargetedCount"
+                 xbl:inherits="value=unreadTargetedCount">
           <xul:label anonid="unreadTargetedCount" class="convUnreadTargetedCountLabel"
                      crop="end" mousethrough="never"
                      xbl:inherits="value=unreadTargetedCount"/>
         </xul:box>
         <xul:spacer flex="1000000"/>
       </xul:hbox>
     </content>
     <implementation implements="nsIObserver">