Bug 1162863 - part 2: crop long origins in the middle, display full origin in a tooltip. r=paolo
authorDão Gottwald <dao@mozilla.com>
Fri, 15 May 2015 14:35:15 +0200
changeset 264759 4b64468e4abcc7a57ca3b9085bb1ec849730834d
parent 264758 aa879a1564b53883b5cd5b4b62ea36049194e273
child 264760 3b0df915180b9723b9e4d0fced58e8024983b32b
push id2068
push usergijskruitbosch@gmail.com
push dateFri, 15 May 2015 13:26:16 +0000
reviewerspaolo
bugs1162863
milestone41.0a1
Bug 1162863 - part 2: crop long origins in the middle, display full origin in a tooltip. r=paolo
toolkit/content/widgets/notification.xml
--- a/toolkit/content/widgets/notification.xml
+++ b/toolkit/content/widgets/notification.xml
@@ -474,18 +474,18 @@
       <xul:vbox>
         <xul:image class="popup-notification-icon"
                    xbl:inherits="popupid,src=icon"/>
       </xul:vbox>
       <xul:vbox>
         <xul:hbox align="start">
           <xul:vbox flex="1">
             <xul:label class="popup-notification-origin header"
-                       xbl:inherits="value=origin"
-                       crop="end"/>
+                       xbl:inherits="value=origin,tooltiptext=origin"
+                       crop="center"/>
             <xul:description class="popup-notification-description"
                              xbl:inherits="xbl:text=label,popupid"/>
           </xul:vbox>
           <xul:toolbarbutton anonid="closebutton"
                              class="messageCloseButton close-icon popup-notification-closebutton tabbable"
                              xbl:inherits="oncommand=closebuttoncommand"
                              tooltiptext="&closeNotification.tooltip;"/>
         </xul:hbox>