3 <?xml-stylesheet href=
"chrome://aboutconfig/skin/config.css" type=
"text/css"?>
5 <!DOCTYPE window SYSTEM
"chrome://global/locale/config.dtd">
8 windowtype=
"global:aboutconfig"
9 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
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=
"©Name.label;" accesskey=
"©Name.accesskey;" oncommand=
"copyName();"/>
22 <menuitem id=
"copyValue" label=
"©Value.label;" accesskey=
"©Value.accesskey;" oncommand=
"copyValue();"/>
23 <menu label=
"&new.label;" accesskey=
"&new.accesskey;">
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);"/>
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();"/>
36 <key keycode=
"VK_ENTER" oncommand=
"ModifySelected();"/>
37 <key keycode=
"VK_RETURN" oncommand=
"ModifySelected();"/>
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"/>
46 <tree id=
"configTree" flex=
"1" class=
"plain focusring" seltype=
"single"
47 enableColumnDrag=
"true" context=
"configContext">
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"/>
67 <treechildren id=
"configTreeBody" ondblclick=
"if (event.button == 0) ModifySelected();"/>