2003-08-16 11:22:16 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla 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/MPL/
|
|
|
|
#
|
|
|
|
# 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.org configuration viewer.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2002
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
2005-12-31 16:02:07 +00:00
|
|
|
# Contributor(s):
|
2003-08-16 11:22:16 +00:00
|
|
|
# Chip Clark <chipc@netscape.com>
|
|
|
|
# Seth Spitzer <sspitzer@netscape.com>
|
|
|
|
# Neil Rashbrook <neil@parkwaycc.co.uk>
|
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
2005-12-31 16:02:07 +00:00
|
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
2003-08-16 11:22:16 +00:00
|
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
2005-12-31 16:02:07 +00:00
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
2003-08-16 11:22:16 +00:00
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
2005-12-31 16:02:07 +00:00
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
2003-08-16 11:22:16 +00:00
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
|
|
|
<?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"
|
2003-08-16 11:22:16 +00:00
|
|
|
width="750"
|
|
|
|
height="500"
|
|
|
|
onunload="onConfigUnload();"
|
|
|
|
onload="onConfigLoad();">
|
|
|
|
|
|
|
|
<script src="chrome://global/content/config.js"/>
|
|
|
|
|
|
|
|
<stringbundle id="configBundle" src="chrome://global/locale/config.properties"/>
|
|
|
|
|
2004-07-26 17:07:11 +00:00
|
|
|
<popup id="configContext" onpopupshowing="if (event.target == this) updateContextMenu();">
|
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="toggleSelected" label="&toggle.label;" accesskey="&toggle.accesskey;" oncommand="ModifySelected();"/>
|
|
|
|
<menuitem id="modifySelected" label="&modify.label;" accesskey="&modify.accesskey;" oncommand="ModifySelected();"/>
|
|
|
|
<menuitem id="resetSelected" label="&reset.label;" accesskey="&reset.accesskey;" oncommand="ResetSelected();"/>
|
2005-02-25 09:07:58 +00:00
|
|
|
<menuitem id="lockSelected" label="&lock.label;" accesskey="&lock.accesskey;" oncommand="LockSelected();"/>
|
|
|
|
<menuitem id="unlockSelected" label="&unlock.label;" accesskey="&unlock.accesskey;" oncommand="UnlockSelected();"/>
|
2003-08-16 11:22:16 +00:00
|
|
|
</popup>
|
|
|
|
|
|
|
|
<keyset>
|
|
|
|
<key keycode="VK_ENTER" oncommand="ModifySelected();"/>
|
|
|
|
<key keycode="VK_RETURN" oncommand="ModifySelected();"/>
|
|
|
|
</keyset>
|
2006-12-05 00:15:22 +00:00
|
|
|
<deck id="configDeck" flex="1">
|
|
|
|
<vbox id="warningScreen" flex="1" align="center">
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<hbox id="warningBox" align="top">
|
|
|
|
<image id="exclam" class="alert-icon"/>
|
|
|
|
<vbox id="warningInnerBox" flex="1">
|
|
|
|
<label id="warningTitle">&scaryWarningTitle.label;</label>
|
|
|
|
<label id="warningText">&scaryWarningText.label;</label>
|
|
|
|
<checkbox id="showWarningNextTime" label="&scaryWarningCheckbox.label;" checked="true"/>
|
|
|
|
<hbox pack="center">
|
|
|
|
<button id="warningButton" oncommand="ShowPrefs();" label="&scaryWarningButton.label;"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
<spacer flex="2"/>
|
|
|
|
</vbox>
|
|
|
|
<vbox flex="1">
|
|
|
|
<hbox id="filterRow" align="center">
|
|
|
|
<label value="&filterPrefs.label;" accesskey="&filterPrefs.accesskey;" control="textbox"/>
|
|
|
|
<textbox id="textbox" flex="1" type="timed" timeout="500" oncommand="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>
|
|
|
|
</vbox>
|
|
|
|
</deck>
|
2003-08-16 11:22:16 +00:00
|
|
|
</window>
|