Bug 1521481 - Hide chat conversation number indicator when its value is "0" by copying the xbl:inherits to the surrounding box. r=florian
authorRichard Marti <richard.marti@gmail.com>
Mon, 21 Jan 2019 17:49:00 +0100
changeset 34260 51560879ea988f7a0fe45a6d9ccadca995948f91
parent 34259 2560743a5174dd4bb2fa7fa1cd0476f12f57c6da
child 34261 94a2a4100e98356c27dbe3f9eeda80a20bf32135
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersflorian
bugs1521481
Bug 1521481 - Hide chat conversation number indicator when its value is "0" by copying the xbl:inherits to the surrounding box. r=florian
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">