Source code

Revision control

Other Tools

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
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8
<?xml-stylesheet href="chrome://global/skin/in-content/info-pages.css" type="text/css"?>
9
<?xml-stylesheet href="chrome://global/skin/config.css" type="text/css"?>
10
11
<window id="config"
12
data-l10n-id="config-window"
13
aria-describedby="warningTitle warningText"
16
windowtype="Preferences:ConfigManager"
17
role="application"
18
width="750"
19
height="500"
20
onunload="onConfigUnload();"
21
onload="onConfigLoad();">
22
23
<linkset>
24
<html:link rel="localization" href="toolkit/about/aboutConfig.ftl"/>
25
</linkset>
26
28
29
<menupopup id="configContext" onpopupshowing="if (event.target == this) updateContextMenu();">
30
<menuitem id="toggleSelected" data-l10n-id="config-toggle" default="true"
31
oncommand="ModifySelected();"/>
32
<menuitem id="modifySelected" data-l10n-id="config-modify" default="true"
33
oncommand="ModifySelected();"/>
34
<menuseparator/>
35
<menuitem id="copyPref" data-l10n-id="config-copy-pref" oncommand="copyPref();"/>
36
<menuitem id="copyName" data-l10n-id="config-copy-name" oncommand="copyName();"/>
37
<menuitem id="copyValue" data-l10n-id="config-copy-value" oncommand="copyValue();"/>
38
<menu data-l10n-id="config-new">
39
<menupopup>
40
<menuitem data-l10n-id="config-string" oncommand="NewPref(nsIPrefBranch.PREF_STRING);"/>
41
<menuitem data-l10n-id="config-integer" oncommand="NewPref(nsIPrefBranch.PREF_INT);"/>
42
<menuitem data-l10n-id="config-boolean" oncommand="NewPref(nsIPrefBranch.PREF_BOOL);"/>
43
</menupopup>
44
</menu>
45
<menuitem id="resetSelected" data-l10n-id="config-reset" oncommand="ResetSelected();"/>
46
</menupopup>
47
48
<keyset id="configTreeKeyset" disabled="true">
49
<key keycode="VK_RETURN" oncommand="ModifySelected();"/>
50
<key modifiers="accel" data-l10n-id="config-focus-search" oncommand="document.getElementById('textbox').focus();"/>
51
<key modifiers="accel" data-l10n-id="config-focus-search-2" oncommand="document.getElementById('textbox').focus();"/>
52
</keyset>
53
<deck id="configDeck" flex="1">
54
<vbox id="warningScreen" flex="1" align="center" style="overflow: auto;">
55
<spacer flex="1"/>
56
<vbox id="warningBox" class="container">
57
<hbox class="title" flex="1">
58
<label id="warningTitle" data-l10n-id="config-about-warning-title" class="title-text" flex="1"></label>
59
</hbox>
60
<vbox class="description" flex="1">
61
<label id="warningText" data-l10n-id="config-about-warning-text"></label>
62
<checkbox id="showWarningNextTime" data-l10n-id="config-about-warning-checkbox" checked="true"/>
63
<hbox class="button-container">
64
<button id="warningButton" data-l10n-id="config-about-warning-button" class="primary" oncommand="ShowPrefs();"/>
65
</hbox>
66
</vbox>
67
</vbox>
68
<spacer flex="2"/>
69
</vbox>
70
<vbox flex="1">
71
<hbox id="filterRow" align="center">
72
<label data-l10n-id="config-search-prefs" control="textbox"/>
73
<textbox id="textbox" flex="1" is="search-textbox"
74
aria-controls="configTree"
75
oncommand="FilterPrefs();"/>
76
</hbox>
77
78
<tree id="configTree" flex="1" seltype="single"
79
onselect="updateCommands('select');"
80
enableColumnDrag="true" context="configContext">
81
<treecols>
82
<treecol id="prefCol" data-l10n-id="config-pref-column" flex="7"
83
ignoreincolumnpicker="true"
84
persist="hidden width ordinal sortDirection"/>
85
<splitter class="tree-splitter" />
86
<treecol id="lockCol" data-l10n-id="config-lock-column" flex="1"
87
persist="hidden width ordinal sortDirection"/>
88
<splitter class="tree-splitter" />
89
<treecol id="typeCol" data-l10n-id="config-type-column" flex="1"
90
persist="hidden width ordinal sortDirection"/>
91
<splitter class="tree-splitter" />
92
<treecol id="valueCol" data-l10n-id="config-value-column" flex="10"
93
persist="hidden width ordinal sortDirection"/>
94
</treecols>
95
96
<treechildren id="configTreeBody" ondblclick="if (event.button == 0) ModifySelected();"/>
97
</tree>
98
</vbox>
99
</deck>
100
</window>