Version 0.4 upload.
[AboutConfig.git] / src / chrome / content / aboutconfig / config.xul
blobd94744a404c0457b2283663d5e7e307400dd8448
1 <?xml version="1.0"?>
3 <?xml-stylesheet href="chrome://aboutconfig/skin/config.css" type="text/css"?>
5 <!DOCTYPE window SYSTEM "chrome://global/locale/config.dtd">
7 <window id="config"
8 windowtype="global:aboutconfig"
9 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
10 width="750"
11 height="500"
12 persist="width,height,screenX,screenY"
13 onunload="onConfigUnload();"
14 onload="onConfigLoad();">
16 <script src="chrome://aboutconfig/content/config.js"/>
18 <stringbundle id="configBundle" src="chrome://global/locale/config.properties"/>
20 <popup id="configContext" onpopupshowing="if (event.target == this) updateContextMenu();">
21 <menuitem id="copyName" label="&copyName.label;" accesskey="&copyName.accesskey;" oncommand="copyName();"/>
22 <menuitem id="copyValue" label="&copyValue.label;" accesskey="&copyValue.accesskey;" oncommand="copyValue();"/>
23 <menu label="&new.label;" accesskey="&new.accesskey;">
24 <menupopup>
25 <menuitem label="&string.label;" accesskey="&string.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_STRING);"/>
26 <menuitem label="&integer.label;" accesskey="&integer.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_INT);"/>
27 <menuitem label="&boolean.label;" accesskey="&boolean.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_BOOL);"/>
28 </menupopup>
29 </menu>
30 <menuitem id="toggleSelected" label="&toggle.label;" accesskey="&toggle.accesskey;" oncommand="ModifySelected();"/>
31 <menuitem id="modifySelected" label="&modify.label;" accesskey="&modify.accesskey;" oncommand="ModifySelected();"/>
32 <menuitem id="resetSelected" label="&reset.label;" accesskey="&reset.accesskey;" oncommand="ResetSelected();"/>
33 </popup>
35 <keyset>
36 <key keycode="VK_ENTER" oncommand="ModifySelected();"/>
37 <key keycode="VK_RETURN" oncommand="ModifySelected();"/>
38 </keyset>
40 <hbox align="center">
41 <label value="&filterPrefs.label;" accesskey="&filterPrefs.accesskey;" control="textbox"/>
42 <textbox id="textbox" flex="1" type="timed" timeout="500" oncommand="FilterPrefs();"/>
43 <button id="button" label="&showAll.label;" accesskey="&showAll.accesskey;" oncommand="ClearFilter();" disabled="true"/>
44 </hbox>
46 <tree id="configTree" flex="1" class="plain focusring" seltype="single"
47 enableColumnDrag="true" context="configContext">
48 <treecols>
49 <treecol id="prefCol" label="&prefColumn.label;" flex="7"
50 class="sortDirectionIndicator"
51 ignoreincolumnpicker="true"
52 persist="hidden width ordinal sortDirection"/>
53 <splitter class="tree-splitter" />
54 <treecol id="lockCol" label="&lockColumn.label;" flex="1"
55 class="sortDirectionIndicator"
56 persist="hidden width ordinal sortDirection"/>
57 <splitter class="tree-splitter" />
58 <treecol id="typeCol" label="&typeColumn.label;" flex="1"
59 class="sortDirectionIndicator"
60 persist="hidden width ordinal sortDirection"/>
61 <splitter class="tree-splitter" />
62 <treecol id="valueCol" label="&valueColumn.label;" flex="10"
63 class="sortDirectionIndicator"
64 persist="hidden width ordinal sortDirection"/>
65 </treecols>
67 <treechildren id="configTreeBody" ondblclick="if (event.button == 0) ModifySelected();"/>
68 </tree>
69 </window>