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 33406 51560879ea98
parent 33405 2560743a5174
child 33407 94a2a4100e98
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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">