mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
92 lines
3.7 KiB
XML
92 lines
3.7 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<?xml-stylesheet href="chrome://global/content/config.css" type="text/css"?>
|
|
|
|
<!--
|
|
The contents of this file are subject to the Netscape Public
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
except in compliance with the License. You may obtain a copy of
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
implied. See the License for the specific language governing
|
|
rights and limitations under the License.
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
March 31, 1998.
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
Communications Corporation. Portions created by Netscape are
|
|
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
Rights Reserved.
|
|
|
|
Contributors:
|
|
Chip Clark <chipc@netscape.com>
|
|
Seth Spitzer <sspitzer@netscape.com>
|
|
Neil Rashbrook <neil@parkwaycc.co.uk>
|
|
-->
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://global/locale/config.dtd">
|
|
|
|
<window id="config"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
width="750"
|
|
height="500"
|
|
onunload="onConfigUnload();"
|
|
onload="onConfigLoad();">
|
|
|
|
<script src="chrome://global/content/config.js"/>
|
|
|
|
<stringbundle id="configBundle" src="chrome://global/locale/config.properties"/>
|
|
|
|
<popup id="configContext" onpopupshowing="return updateContextMenu(this);">
|
|
<menuitem label="©Name.label;" accesskey="©Name.accesskey;" oncommand="copyName();"/>
|
|
<menuitem label="©Value.label;" accesskey="©Value.accesskey;" oncommand="copyValue();"/>
|
|
<menu label="&new.label;" accesskey="&new.accesskey;">
|
|
<menupopup>
|
|
<menuitem label="&string.label;" accesskey="&string.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_STRING);"/>
|
|
<menuitem label="&integer.label;" accesskey="&integer.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_INT);"/>
|
|
<menuitem label="&boolean.label;" accesskey="&boolean.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_BOOL);"/>
|
|
</menupopup>
|
|
</menu>
|
|
<menuitem label="&modify.label;" accesskey="&modify.accesskey;" oncommand="ModifySelected();"/>
|
|
<menuitem label="&reset.label;" accesskey="&reset.accesskey;" oncommand="ResetSelected();"/>
|
|
</popup>
|
|
|
|
<keyset>
|
|
<key keycode="VK_ENTER" oncommand="ModifySelected();"/>
|
|
<key keycode="VK_RETURN" oncommand="ModifySelected();"/>
|
|
</keyset>
|
|
|
|
<hbox align="center">
|
|
<label value="&filterPrefs.label;" accesskey="&filterPrefs.accesskey;" control="textbox"/>
|
|
<textbox id="textbox" flex="1" type="timed" timeout="500" callback="FilterPrefs();"/>
|
|
<button id="button" label="&showAll.label;" accesskey="&showAll.accesskey;" oncommand="ClearFilter();" disabled="true"/>
|
|
</hbox>
|
|
|
|
<tree id="configTree" flex="1" class="plain focusring" seltype="single"
|
|
enableColumnDrag="true" context="configContext">
|
|
<treecols>
|
|
<treecol id="prefCol" label="&prefColumn.label;" flex="7"
|
|
class="sortDirectionIndicator"
|
|
ignoreincolumnpicker="true"
|
|
persist="hidden width ordinal sortDirection"/>
|
|
<splitter class="tree-splitter" />
|
|
<treecol id="lockCol" label="&lockColumn.label;" flex="1"
|
|
class="sortDirectionIndicator"
|
|
persist="hidden width ordinal sortDirection"/>
|
|
<splitter class="tree-splitter" />
|
|
<treecol id="typeCol" label="&typeColumn.label;" flex="1"
|
|
class="sortDirectionIndicator"
|
|
persist="hidden width ordinal sortDirection"/>
|
|
<splitter class="tree-splitter" />
|
|
<treecol id="valueCol" label="&valueColumn.label;" flex="10"
|
|
class="sortDirectionIndicator"
|
|
persist="hidden width ordinal sortDirection"/>
|
|
</treecols>
|
|
|
|
<treechildren id="configTreeBody" ondblclick="if (event.button == 0) ModifySelected();"/>
|
|
</tree>
|
|
</window>
|