aboutSyncTabs-bindings.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0"?>
  2. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5. <bindings id="tabBindings"
  6. xmlns="http://www.mozilla.org/xbl"
  7. xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  8. xmlns:xbl="http://www.mozilla.org/xbl">
  9. <binding id="tab-listing" extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">
  10. <content>
  11. <xul:hbox flex="1">
  12. <xul:vbox pack="start">
  13. <xul:image class="tabIcon"
  14. xbl:inherits="src=icon"/>
  15. </xul:vbox>
  16. <xul:vbox pack="start" flex="1">
  17. <xul:label xbl:inherits="value=title,selected"
  18. crop="end" flex="1" class="title"/>
  19. <xul:label xbl:inherits="value=url,selected"
  20. crop="end" flex="1" class="url"/>
  21. </xul:vbox>
  22. </xul:hbox>
  23. </content>
  24. <handlers>
  25. <handler event="dblclick" button="0">
  26. <![CDATA[
  27. RemoteTabViewer.openSelected();
  28. ]]>
  29. </handler>
  30. </handlers>
  31. </binding>
  32. <binding id="client-listing" extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">
  33. <content>
  34. <xul:hbox pack="start" align="center" onfocus="event.target.blur()" onselect="return false;">
  35. <xul:image/>
  36. <xul:label xbl:inherits="value=clientName"
  37. class="clientName"
  38. crop="center" flex="1"/>
  39. </xul:hbox>
  40. </content>
  41. </binding>
  42. </bindings>