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