Backout a74bd5095902, Bug 959405 - Please update the Buri Moz-central, 1.3, 1.2 with...
[gecko.git] / toolkit / content / customizeCharset.xul
blobeaf5e262d9dd2cef42a09ba3ee24ec42531ec8a6
1 <?xml version="1.0"?>
3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
4 - License, v. 2.0. If a copy of the MPL was not distributed with this
5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
9 <!DOCTYPE dialog SYSTEM "chrome://global/locale/customizeCharset.dtd">
11 <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
12 title="&title.label;"
13 onload="Init();"
14 ondialogaccept="return Save();"
15 persist="width height">
17 <script type="application/javascript" src="chrome://global/content/customizeCharset.js"/>
18 <script type="application/javascript">
19 <![CDATA[
20 var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
21 observerService.notifyObservers(null, "charsetmenu-selected", "other");
22 ]]>
23 </script>
25 <!-- The two-pane -->
26 <hbox flex="1">
27 <vbox flex="1">
28 <label value="&additional.label;" control="available_charsets"/>
29 <!-- Available Charsets Tree -->
30 <listbox id="available_charsets" flex="1" seltype="multiple"
31 onfocus = "document.getElementById('active_charsets').clearSelection(); this.selectItem(this.currentItem || this.getItemAtIndex(0));"
32 onselect="update_buttons();"
33 ondblclick="AddAvailableCharset();"/>
35 <separator class="thin"/>
37 <hbox align="center">
38 <button id="add_button" oncommand="AddAvailableCharset();"
39 label="&add.label;" icon="add" accesskey="&add.accessKey;"/>
40 </hbox>
41 </vbox>
43 <separator orient="vertical"/>
45 <vbox flex="1">
46 <label value="&current.label;" control="active_charsets"/>
47 <listbox id="active_charsets" flex="1" seltype="multiple"
48 onfocus = "document.getElementById('available_charsets').clearSelection(); this.selectItem(this.currentItem || this.getItemAtIndex(0));"
49 onselect="update_buttons();"
50 ondblclick="RemoveActiveCharset();"/>
52 <separator class="thin"/>
53 <hbox align="center">
54 <button id="up_button" label="&moveUp.label;" icon="go-up"
55 accesskey="&moveUp.accessKey;" oncommand="MoveUp();"/>
56 <button id="down_button" label="&moveDown.label;" icon="go-down"
57 accesskey="&moveDown.accessKey;" oncommand="MoveDown();"/>
58 <button id="remove_button" oncommand="RemoveActiveCharset();" icon="remove"
59 label="&remove.label;" accesskey="&remove.accessKey;"/>
60 </hbox>
61 </vbox>
62 </hbox>
63 </dialog>