browser/components/preferences/handlers.xml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <?xml version="1.0"?>
michael@0 2
michael@0 3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 6
michael@0 7 <!DOCTYPE overlay [
michael@0 8 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
michael@0 9 <!ENTITY % applicationsDTD SYSTEM "chrome://browser/locale/preferences/applications.dtd">
michael@0 10 %brandDTD;
michael@0 11 %applicationsDTD;
michael@0 12 ]>
michael@0 13
michael@0 14 <bindings id="handlerBindings"
michael@0 15 xmlns="http://www.mozilla.org/xbl"
michael@0 16 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 17 xmlns:xbl="http://www.mozilla.org/xbl">
michael@0 18
michael@0 19 <binding id="handler-base" extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">
michael@0 20 <implementation>
michael@0 21 <property name="type" readonly="true">
michael@0 22 <getter>
michael@0 23 return this.getAttribute("type");
michael@0 24 </getter>
michael@0 25 </property>
michael@0 26 </implementation>
michael@0 27 </binding>
michael@0 28
michael@0 29 <binding id="handler" extends="chrome://browser/content/preferences/handlers.xml#handler-base">
michael@0 30 <content>
michael@0 31 <xul:hbox flex="1" equalsize="always">
michael@0 32 <xul:hbox flex="1" align="center" xbl:inherits="tooltiptext=typeDescription">
michael@0 33 <xul:image src="moz-icon://goat?size=16" class="typeIcon"
michael@0 34 xbl:inherits="src=typeIcon" height="16" width="16"/>
michael@0 35 <xul:label flex="1" crop="end" xbl:inherits="value=typeDescription"/>
michael@0 36 </xul:hbox>
michael@0 37 <xul:hbox flex="1" align="center" xbl:inherits="tooltiptext=actionDescription">
michael@0 38 <xul:image xbl:inherits="src=actionIcon" height="16" width="16" class="actionIcon"/>
michael@0 39 <xul:label flex="1" crop="end" xbl:inherits="value=actionDescription"/>
michael@0 40 </xul:hbox>
michael@0 41 </xul:hbox>
michael@0 42 </content>
michael@0 43 </binding>
michael@0 44
michael@0 45 <binding id="handler-selected" extends="chrome://browser/content/preferences/handlers.xml#handler-base">
michael@0 46 <content>
michael@0 47 <xul:hbox flex="1" equalsize="always">
michael@0 48 <xul:hbox flex="1" align="center" xbl:inherits="tooltiptext=typeDescription">
michael@0 49 <xul:image src="moz-icon://goat?size=16" class="typeIcon"
michael@0 50 xbl:inherits="src=typeIcon" height="16" width="16"/>
michael@0 51 <xul:label flex="1" crop="end" xbl:inherits="value=typeDescription"/>
michael@0 52 </xul:hbox>
michael@0 53 <xul:hbox flex="1">
michael@0 54 <xul:menulist class="actionsMenu" flex="1" crop="end" selectedIndex="1"
michael@0 55 xbl:inherits="tooltiptext=actionDescription"
michael@0 56 oncommand="gApplicationsPane.onSelectAction(event.originalTarget)">
michael@0 57 <xul:menupopup/>
michael@0 58 </xul:menulist>
michael@0 59 </xul:hbox>
michael@0 60 </xul:hbox>
michael@0 61 </content>
michael@0 62
michael@0 63 <implementation>
michael@0 64 <constructor>
michael@0 65 gApplicationsPane.rebuildActionsMenu();
michael@0 66 </constructor>
michael@0 67 </implementation>
michael@0 68
michael@0 69 </binding>
michael@0 70
michael@0 71 <binding id="offlineapp"
michael@0 72 extends="chrome://global/content/bindings/listbox.xml#listitem">
michael@0 73 <content>
michael@0 74 <children>
michael@0 75 <xul:listcell xbl:inherits="label=host"/>
michael@0 76 <xul:listcell xbl:inherits="label=usage"/>
michael@0 77 </children>
michael@0 78 </content>
michael@0 79 </binding>
michael@0 80
michael@0 81 </bindings>

mercurial