2003-08-16 11:22:16 +00:00
|
|
|
<?xml version="1.0"?>
|
2012-06-25 23:11:16 +00:00
|
|
|
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
2003-08-16 11:22:16 +00:00
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/config.css" type="text/css"?>
|
|
|
|
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://global/locale/config.dtd">
|
|
|
|
|
|
|
|
<window id="config"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2006-05-25 16:17:01 +00:00
|
|
|
title="&window.title;"
|
2006-10-31 15:08:49 +00:00
|
|
|
windowtype="Preferences:ConfigManager"
|
2010-10-07 17:37:28 +00:00
|
|
|
role="application"
|
2003-08-16 11:22:16 +00:00
|
|
|
width="750"
|
|
|
|
height="500"
|
2011-01-11 21:33:51 +00:00
|
|
|
disablefastfind="true"
|
2003-08-16 11:22:16 +00:00
|
|
|
onunload="onConfigUnload();"
|
|
|
|
onload="onConfigLoad();">
|
|
|
|
|
|
|
|
<script src="chrome://global/content/config.js"/>
|
|
|
|
|
|
|
|
<stringbundle id="configBundle" src="chrome://global/locale/config.properties"/>
|
|
|
|
|
2010-06-22 06:34:21 +00:00
|
|
|
<menupopup id="configContext" onpopupshowing="if (event.target == this) updateContextMenu();">
|
2008-09-02 06:47:46 +00:00
|
|
|
<menuitem id="toggleSelected" default="true"
|
|
|
|
label="&toggle.label;" accesskey="&toggle.accesskey;"
|
|
|
|
oncommand="ModifySelected();"/>
|
|
|
|
<menuitem id="modifySelected" default="true"
|
|
|
|
label="&modify.label;" accesskey="&modify.accesskey;"
|
|
|
|
oncommand="ModifySelected();"/>
|
|
|
|
<menuseparator/>
|
2007-01-26 20:51:12 +00:00
|
|
|
<menuitem id="copyPref" label="©Pref.label;" accesskey="©Pref.accesskey;" oncommand="copyPref();"/>
|
2004-07-26 17:07:11 +00:00
|
|
|
<menuitem id="copyName" label="©Name.label;" accesskey="©Name.accesskey;" oncommand="copyName();"/>
|
|
|
|
<menuitem id="copyValue" label="©Value.label;" accesskey="©Value.accesskey;" oncommand="copyValue();"/>
|
2003-08-16 11:22:16 +00:00
|
|
|
<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>
|
2004-07-26 17:07:11 +00:00
|
|
|
<menuitem id="resetSelected" label="&reset.label;" accesskey="&reset.accesskey;" oncommand="ResetSelected();"/>
|
2010-06-22 06:34:21 +00:00
|
|
|
</menupopup>
|
2003-08-16 11:22:16 +00:00
|
|
|
|
2008-10-11 01:10:48 +00:00
|
|
|
<keyset id="configTreeKeyset" disabled="true">
|
2003-08-16 11:22:16 +00:00
|
|
|
<key keycode="VK_ENTER" oncommand="ModifySelected();"/>
|
|
|
|
<key keycode="VK_RETURN" oncommand="ModifySelected();"/>
|
2011-11-26 13:07:52 +00:00
|
|
|
<key key="&focusSearch.key;" modifiers="accel" oncommand="document.getElementById('textbox').focus();"/>
|
2003-08-16 11:22:16 +00:00
|
|
|
</keyset>
|
2006-12-05 00:15:22 +00:00
|
|
|
<deck id="configDeck" flex="1">
|
2009-03-22 08:58:15 +00:00
|
|
|
<vbox id="warningScreen" flex="1" align="center" style="overflow: auto;">
|
2006-12-05 00:15:22 +00:00
|
|
|
<spacer flex="1"/>
|
|
|
|
<hbox id="warningBox" align="top">
|
2008-05-05 20:52:33 +00:00
|
|
|
<image id="exclam"/>
|
2006-12-05 00:15:22 +00:00
|
|
|
<vbox id="warningInnerBox" flex="1">
|
2008-01-29 07:47:31 +00:00
|
|
|
<label id="warningTitle">&aboutWarningTitle.label;</label>
|
|
|
|
<label id="warningText">&aboutWarningText.label;</label>
|
|
|
|
<checkbox id="showWarningNextTime" label="&aboutWarningCheckbox.label;" checked="true"/>
|
2006-12-05 00:15:22 +00:00
|
|
|
<hbox pack="center">
|
2008-01-29 07:47:31 +00:00
|
|
|
<button id="warningButton" oncommand="ShowPrefs();" label="&aboutWarningButton.label;"/>
|
2006-12-05 00:15:22 +00:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
<spacer flex="2"/>
|
|
|
|
</vbox>
|
|
|
|
<vbox flex="1">
|
|
|
|
<hbox id="filterRow" align="center">
|
2011-11-26 13:07:52 +00:00
|
|
|
<label value="&searchPrefs.label;" accesskey="&searchPrefs.accesskey;" control="textbox"/>
|
2010-04-19 14:13:54 +00:00
|
|
|
<textbox id="textbox" flex="1" type="search" class="compact"
|
2009-02-02 09:38:53 +00:00
|
|
|
aria-controls="configTree"
|
|
|
|
oncommand="FilterPrefs();"/>
|
2006-12-05 00:15:22 +00:00
|
|
|
</hbox>
|
2011-11-26 13:07:52 +00:00
|
|
|
|
2008-11-27 20:26:05 +00:00
|
|
|
<tree id="configTree" flex="1" seltype="single"
|
2007-02-01 13:13:51 +00:00
|
|
|
onselect="updateCommands('select');"
|
2006-12-05 00:15:22 +00:00
|
|
|
enableColumnDrag="true" context="configContext">
|
|
|
|
<treecols>
|
|
|
|
<treecol id="prefCol" label="&prefColumn.label;" flex="7"
|
|
|
|
ignoreincolumnpicker="true"
|
|
|
|
persist="hidden width ordinal sortDirection"/>
|
|
|
|
<splitter class="tree-splitter" />
|
|
|
|
<treecol id="lockCol" label="&lockColumn.label;" flex="1"
|
|
|
|
persist="hidden width ordinal sortDirection"/>
|
|
|
|
<splitter class="tree-splitter" />
|
|
|
|
<treecol id="typeCol" label="&typeColumn.label;" flex="1"
|
|
|
|
persist="hidden width ordinal sortDirection"/>
|
|
|
|
<splitter class="tree-splitter" />
|
|
|
|
<treecol id="valueCol" label="&valueColumn.label;" flex="10"
|
|
|
|
persist="hidden width ordinal sortDirection"/>
|
|
|
|
</treecols>
|
2010-04-18 07:26:31 +00:00
|
|
|
|
2010-05-12 18:25:48 +00:00
|
|
|
<treechildren id="configTreeBody" ondblclick="if (event.button == 0) ModifySelected();"/>
|
2006-12-05 00:15:22 +00:00
|
|
|
</tree>
|
|
|
|
</vbox>
|
|
|
|
</deck>
|
2003-08-16 11:22:16 +00:00
|
|
|
</window>
|