browser/base/content/sync/aboutSyncTabs-bindings.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/base/content/sync/aboutSyncTabs-bindings.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,46 @@
     1.4 +<?xml version="1.0"?>
     1.5 +
     1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.9 +
    1.10 +<bindings id="tabBindings"
    1.11 +          xmlns="http://www.mozilla.org/xbl"
    1.12 +          xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.13 +          xmlns:xbl="http://www.mozilla.org/xbl">
    1.14 +
    1.15 +  <binding id="tab-listing" extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">
    1.16 +    <content>
    1.17 +      <xul:hbox flex="1">
    1.18 +        <xul:vbox pack="start">
    1.19 +          <xul:image class="tabIcon"
    1.20 +                     xbl:inherits="src=icon"/>
    1.21 +        </xul:vbox>
    1.22 +        <xul:vbox pack="start" flex="1">
    1.23 +            <xul:label xbl:inherits="value=title,selected"
    1.24 +                       crop="end" flex="1" class="title"/>
    1.25 +            <xul:label xbl:inherits="value=url,selected"
    1.26 +                       crop="end" flex="1" class="url"/>
    1.27 +        </xul:vbox>
    1.28 +      </xul:hbox>
    1.29 +    </content>
    1.30 +    <handlers>
    1.31 +      <handler event="dblclick" button="0">
    1.32 +        <![CDATA[
    1.33 +          RemoteTabViewer.openSelected();
    1.34 +        ]]>
    1.35 +      </handler>
    1.36 +    </handlers>
    1.37 +  </binding>
    1.38 +
    1.39 +  <binding id="client-listing" extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">
    1.40 +    <content>
    1.41 +      <xul:hbox pack="start" align="center" onfocus="event.target.blur()" onselect="return false;">
    1.42 +        <xul:image/>
    1.43 +        <xul:label xbl:inherits="value=clientName"
    1.44 +                   class="clientName"
    1.45 +                   crop="center" flex="1"/>
    1.46 +      </xul:hbox>
    1.47 +    </content>
    1.48 +  </binding>
    1.49 +</bindings>

mercurial