1999-06-04 23:28:56 +00:00
|
|
|
<?xml version="1.0"?>
|
1999-08-10 02:48:56 +00:00
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
|
|
|
|
Contributor(s):
|
2006-05-17 02:26:44 +00:00
|
|
|
Ben Goodger <ben@netscape.com>, original implementor
|
1999-08-10 02:48:56 +00:00
|
|
|
-->
|
1999-06-04 23:28:56 +00:00
|
|
|
|
2006-05-17 02:24:52 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
1999-11-18 21:05:43 +00:00
|
|
|
|
2006-05-17 02:35:16 +00:00
|
|
|
<!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-applications.dtd" >
|
1999-06-04 23:28:56 +00:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2006-05-17 02:31:26 +00:00
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
2006-05-17 02:31:51 +00:00
|
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-applications.xul');"
|
|
|
|
headertitle="&lHeader;">
|
1999-06-04 23:28:56 +00:00
|
|
|
|
2006-05-17 02:28:44 +00:00
|
|
|
<stringbundle id="bundle_prefApplications"
|
|
|
|
src="chrome://communicator/locale/pref/pref-applications.properties"/>
|
2006-05-17 02:28:42 +00:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-applications.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/overrideHandler.js"/>
|
2006-05-17 02:34:41 +00:00
|
|
|
|
|
|
|
<script type="application/x-javascript">
|
|
|
|
<![CDATA[
|
|
|
|
var _elementIDs = ["useNSPluginFinder"];
|
|
|
|
]]>
|
|
|
|
</script>
|
2006-05-17 02:26:44 +00:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
<groupbox flex="1">
|
2006-05-17 02:31:17 +00:00
|
|
|
<caption label="&descript;"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
<label value="&fileTypes.label;"/>
|
2006-05-17 02:30:39 +00:00
|
|
|
<hbox flex="1">
|
|
|
|
<vbox flex="1">
|
2006-05-17 02:34:33 +00:00
|
|
|
<listbox id="appList" flex="1"
|
2006-05-17 02:34:43 +00:00
|
|
|
sortResource="http://home.netscape.com/NC-rdf#value"
|
|
|
|
sortDirection="ascending"
|
2006-05-17 02:30:39 +00:00
|
|
|
datasources="rdf:null" ref="urn:mimetypes"
|
|
|
|
onselect="selectApplication();">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<conditions>
|
|
|
|
<content uri="?uri"/>
|
|
|
|
<!-- the RDF Seq of MIME types -->
|
|
|
|
<triple subject="?uri" object="?MIME-types"
|
|
|
|
predicate="http://home.netscape.com/NC-rdf#MIME-types"/>
|
|
|
|
<!-- each MIME type -->
|
|
|
|
<member container="?MIME-types" child="?type"/>
|
|
|
|
<!-- MIME type value -->
|
|
|
|
<triple subject="?type" object="?value"
|
|
|
|
predicate="http://home.netscape.com/NC-rdf#value"/>
|
|
|
|
<triple subject="?type" object="?editable"
|
|
|
|
predicate="http://home.netscape.com/NC-rdf#editable"/>
|
|
|
|
</conditions>
|
|
|
|
<action>
|
2006-05-17 02:34:33 +00:00
|
|
|
<listitem uri="?type" label="?value"/>
|
2006-05-17 02:30:39 +00:00
|
|
|
</action>
|
|
|
|
</rule>
|
|
|
|
</template>
|
2006-05-17 02:34:33 +00:00
|
|
|
</listbox>
|
|
|
|
|
2006-05-17 02:30:39 +00:00
|
|
|
<hbox>
|
2006-05-17 02:35:20 +00:00
|
|
|
<vbox style="width: 40px; height: 40px;" pack="center" align="center">
|
|
|
|
<image id="contentTypeImage"/>
|
|
|
|
</vbox>
|
2006-05-17 02:30:39 +00:00
|
|
|
<grid orient="horizontal">
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column flex="1"/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
<label value="&exten;"/>
|
|
|
|
<label id="extension"/>
|
2006-05-17 02:30:39 +00:00
|
|
|
</row>
|
|
|
|
<row>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
<label value="&mimeType;"/>
|
|
|
|
<label id="mimeType"/>
|
2006-05-17 02:30:39 +00:00
|
|
|
</row>
|
|
|
|
<row>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
<label value="&handle;"/>
|
2006-05-17 02:35:20 +00:00
|
|
|
<textbox id="handler" readonly="true" style="width: 175px" />
|
2006-05-17 02:30:39 +00:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
<vbox>
|
|
|
|
<button id="newTypeButton"
|
|
|
|
label="&newTypeButton.label;" accesskey="&newTypeButton.accesskey;"
|
|
|
|
oncommand="newType();"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
prefstring="pref.application.disable_button.new_type"/>
|
2006-05-17 02:30:39 +00:00
|
|
|
<button id="editButton"
|
|
|
|
label="&editButton.label;" accesskey="&editButton.accesskey;"
|
|
|
|
oncommand="editType();"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
prefstring="pref.application.disable_button.edit"/>
|
2006-05-17 02:30:39 +00:00
|
|
|
<button id="removeButton"
|
|
|
|
label="&removeButton.label;" accesskey="&removeButton.accesskey;"
|
|
|
|
oncommand="removeType();"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
prefstring="pref.application.disable_button.remove"/>
|
2006-05-17 02:30:39 +00:00
|
|
|
</vbox>
|
|
|
|
</hbox>
|
2006-05-17 02:30:33 +00:00
|
|
|
</groupbox>
|
2006-05-17 02:34:41 +00:00
|
|
|
<groupbox id="pluginFinderBox">
|
|
|
|
<caption label="&plugins.label;"/>
|
|
|
|
<vbox>
|
|
|
|
<hbox pack="start" align="center">
|
|
|
|
<checkbox id="useNSPluginFinder" label="&pluginFinder.label;"
|
|
|
|
prefstring="application.use_ns_plugin_finder"/>
|
|
|
|
</hbox>
|
|
|
|
<description>&pluginFinderDesc.label;</description>
|
|
|
|
</vbox>
|
|
|
|
</groupbox>
|
2006-05-17 02:31:35 +00:00
|
|
|
<groupbox>
|
2006-05-17 02:31:17 +00:00
|
|
|
<caption label="&fileOpening.label;"/>
|
2006-05-17 02:31:35 +00:00
|
|
|
<hbox pack="start" align="center">
|
|
|
|
<description flex="1">&resetText.label;</description>
|
|
|
|
<spacer flex="1"/>
|
2006-05-17 02:30:39 +00:00
|
|
|
<button label="&resetButton.label;" oncommand="clearRememberedSettings();"/>
|
|
|
|
</hbox>
|
2006-05-17 02:30:33 +00:00
|
|
|
</groupbox>
|
2006-05-17 02:31:26 +00:00
|
|
|
</page>
|