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 fa0f40f25bae
parent 33962 96dae5ff0c34
child 33964 628e8580a26d
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">