Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <?xml version="1.0"?>
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/. -->
7 <?xml-stylesheet href="chrome://global/skin/config.css" type="text/css"?>
9 <!DOCTYPE window SYSTEM "chrome://global/locale/config.dtd">
11 <window id="config"
12 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
13 title="&window.title;"
14 windowtype="Preferences:ConfigManager"
15 role="application"
16 aria-describedby="warningTitle warningText"
17 width="750"
18 height="500"
19 disablefastfind="true"
20 onunload="onConfigUnload();"
21 onload="onConfigLoad();">
23 <script src="chrome://global/content/config.js"/>
25 <stringbundle id="configBundle" src="chrome://global/locale/config.properties"/>
27 <menupopup id="configContext" onpopupshowing="if (event.target == this) updateContextMenu();">
28 <menuitem id="toggleSelected" default="true"
29 label="&toggle.label;" accesskey="&toggle.accesskey;"
30 oncommand="ModifySelected();"/>
31 <menuitem id="modifySelected" default="true"
32 label="&modify.label;" accesskey="&modify.accesskey;"
33 oncommand="ModifySelected();"/>
34 <menuseparator/>
35 <menuitem id="copyPref" label="©Pref.label;" accesskey="©Pref.accesskey;" oncommand="copyPref();"/>
36 <menuitem id="copyName" label="©Name.label;" accesskey="©Name.accesskey;" oncommand="copyName();"/>
37 <menuitem id="copyValue" label="©Value.label;" accesskey="©Value.accesskey;" oncommand="copyValue();"/>
38 <menu label="&new.label;" accesskey="&new.accesskey;">
39 <menupopup>
40 <menuitem label="&string.label;" accesskey="&string.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_STRING);"/>
41 <menuitem label="&integer.label;" accesskey="&integer.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_INT);"/>
42 <menuitem label="&boolean.label;" accesskey="&boolean.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_BOOL);"/>
43 </menupopup>
44 </menu>
45 <menuitem id="resetSelected" label="&reset.label;" accesskey="&reset.accesskey;" oncommand="ResetSelected();"/>
46 </menupopup>
48 <keyset id="configTreeKeyset" disabled="true">
49 <key keycode="VK_RETURN" oncommand="ModifySelected();"/>
50 <key key="&focusSearch.key;" modifiers="accel" oncommand="document.getElementById('textbox').focus();"/>
51 </keyset>
52 <deck id="configDeck" flex="1">
53 <vbox id="warningScreen" flex="1" align="center" style="overflow: auto;">
54 <spacer flex="1"/>
55 <hbox id="warningBox" align="top">
56 <image id="exclam"/>
57 <vbox id="warningInnerBox" flex="1">
58 <label id="warningTitle">&aboutWarningTitle.label;</label>
59 <label id="warningText">&aboutWarningText.label;</label>
60 <checkbox id="showWarningNextTime" label="&aboutWarningCheckbox.label;" checked="true"/>
61 <hbox pack="center">
62 <button id="warningButton" oncommand="ShowPrefs();" label="&aboutWarningButton.label;"/>
63 </hbox>
64 </vbox>
65 </hbox>
66 <spacer flex="2"/>
67 </vbox>
68 <vbox flex="1">
69 <hbox id="filterRow" align="center">
70 <label value="&searchPrefs.label;" accesskey="&searchPrefs.accesskey;" control="textbox"/>
71 <textbox id="textbox" flex="1" type="search" class="compact"
72 aria-controls="configTree"
73 oncommand="FilterPrefs();"/>
74 </hbox>
76 <tree id="configTree" flex="1" seltype="single"
77 onselect="updateCommands('select');"
78 enableColumnDrag="true" context="configContext">
79 <treecols>
80 <treecol id="prefCol" label="&prefColumn.label;" flex="7"
81 ignoreincolumnpicker="true"
82 persist="hidden width ordinal sortDirection"/>
83 <splitter class="tree-splitter" />
84 <treecol id="lockCol" label="&lockColumn.label;" flex="1"
85 persist="hidden width ordinal sortDirection"/>
86 <splitter class="tree-splitter" />
87 <treecol id="typeCol" label="&typeColumn.label;" flex="1"
88 persist="hidden width ordinal sortDirection"/>
89 <splitter class="tree-splitter" />
90 <treecol id="valueCol" label="&valueColumn.label;" flex="10"
91 persist="hidden width ordinal sortDirection"/>
92 </treecols>
94 <treechildren id="configTreeBody" ondblclick="if (event.button == 0) ModifySelected();"/>
95 </tree>
96 </vbox>
97 </deck>
98 </window>