2006-05-17 06:24:01 +04:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
|
|
|
|
<!--
|
|
|
|
|
|
|
|
The contents of this file are subject to the Netscape Public License
|
|
|
|
Version 1.1 (the "NPL"); you may not use this file except in
|
|
|
|
compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
http://www.mozilla.org/NPL/
|
|
|
|
|
|
|
|
Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
for the specific language governing rights and limitations under the
|
|
|
|
NPL.
|
|
|
|
|
|
|
|
The Initial Developer of this code under the NPL is Netscape
|
|
|
|
Communications Corporation. Portions created by Netscape are
|
|
|
|
Copyright (C) 1999 Netscape Communications Corporation. All Rights
|
|
|
|
Reserved.
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
2006-05-17 06:24:37 +04:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2006-05-17 06:24:45 +04:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/sidebar/customize.css" type="text/css"?>
|
2006-05-17 06:24:01 +04:00
|
|
|
|
2006-05-17 06:24:35 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-charset.dtd" >
|
2006-05-17 06:24:01 +04: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 06:31:28 +04:00
|
|
|
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2006-05-17 06:31:39 +04:00
|
|
|
title="&charset.customize.title.label;"
|
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 06:31:28 +04:00
|
|
|
onload="Init();"
|
|
|
|
ondialogaccept="return Save();"
|
|
|
|
persist="width height"
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-05-17 06:32:00 +04:00
|
|
|
headertitle="&charset.customize.left.header;"
|
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 06:31:28 +04:00
|
|
|
width="500" height="394">
|
2006-05-17 06:24:01 +04:00
|
|
|
|
2006-05-17 06:28:42 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-charset.js"/>
|
2006-05-17 06:31:27 +04:00
|
|
|
<script type="application/x-javascript">
|
|
|
|
<![CDATA[
|
|
|
|
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
|
|
|
|
observerService.notifyObservers(null, "charsetmenu-selected", "other");
|
|
|
|
]]>
|
|
|
|
</script>
|
2006-05-17 06:24:44 +04:00
|
|
|
|
2006-05-17 06:24:01 +04:00
|
|
|
<!-- The two-pane -->
|
2006-05-17 06:30:33 +04:00
|
|
|
<hbox flex="1">
|
|
|
|
<vbox flex="1">
|
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 06:31:28 +04:00
|
|
|
<label value="&charset.customize.additional.label;"/>
|
2006-05-17 06:24:28 +04:00
|
|
|
<!-- Available Charsets Tree -->
|
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 06:31:28 +04:00
|
|
|
<tree id="available_charsets" flex="1"
|
2006-05-17 06:28:11 +04:00
|
|
|
onselect="SelectAvailableCharset();"
|
|
|
|
ondblclick="AddAvailableCharset();"
|
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 06:31:28 +04:00
|
|
|
datasources="rdf:null" multiple="true">
|
2006-05-17 06:25:57 +04:00
|
|
|
<treecolgroup>
|
|
|
|
<treecol flex="1"/>
|
|
|
|
</treecolgroup>
|
|
|
|
<treechildren id="available_charsets_root" flex="1"/>
|
2006-05-17 06:24:44 +04:00
|
|
|
</tree>
|
|
|
|
<separator class="thin"/>
|
2006-05-17 06:30:43 +04:00
|
|
|
<hbox align="center">
|
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 06:31:28 +04:00
|
|
|
<button id="add_button" oncommand="AddAvailableCharset();"
|
2006-05-17 06:28:51 +04:00
|
|
|
label="&charset.customize.add.label;" disabled="true"/>
|
2006-05-17 06:30:33 +04:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2006-05-17 06:24:44 +04:00
|
|
|
<separator orient="vertical"/>
|
2006-05-17 06:30:33 +04:00
|
|
|
<vbox flex="1">
|
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 06:31:28 +04:00
|
|
|
<label value="&charset.customize.current.label;"/>
|
|
|
|
<tree id="active_charsets" flex="1"
|
2006-05-17 06:28:11 +04:00
|
|
|
onselect="SelectActiveCharset();"
|
|
|
|
ondblclick="RemoveActiveCharset();"
|
|
|
|
datasources="rdf:null"
|
|
|
|
indent="false" multiple="true">
|
2006-05-17 06:25:57 +04:00
|
|
|
<treecolgroup>
|
|
|
|
<treecol flex="1"/>
|
|
|
|
</treecolgroup>
|
|
|
|
<treechildren id="active_charsets_root" flex="1"/>
|
2006-05-17 06:24:44 +04:00
|
|
|
</tree>
|
|
|
|
<separator class="thin"/>
|
2006-05-17 06:30:43 +04:00
|
|
|
<hbox align="center">
|
2006-05-17 06:28:11 +04:00
|
|
|
<button id="remove_button" oncommand="RemoveActiveCharset();"
|
2006-05-17 06:31:43 +04:00
|
|
|
disabled="true"
|
2006-05-17 06:28:51 +04:00
|
|
|
label="&charset.customize.remove.label;"/>
|
2006-05-17 06:30:33 +04:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
<vbox>
|
2006-05-17 06:31:25 +04:00
|
|
|
<spacer flex="1"/>
|
2006-05-17 06:28:11 +04:00
|
|
|
<button id="up_button" class="up small" disabled="true"
|
|
|
|
oncommand="MoveUp();"/>
|
|
|
|
<button id="down_button" class="down small" disabled="true"
|
|
|
|
oncommand="MoveDown();"/>
|
2006-05-17 06:31:25 +04:00
|
|
|
<spacer flex="1"/>
|
2006-05-17 06:30:33 +04:00
|
|
|
</vbox>
|
|
|
|
</hbox>
|
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 06:31:28 +04:00
|
|
|
</dialog>
|