Ignore:
Timestamp:
Oct 16, 2014, 9:02:17 PM (6 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
e23521
Parents:
fdd549
Message:

added compatibility changes for new charEncoding Menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/vI_rdfDataEditor_dataExtrasOverlay.xul

    rfdd549 r998c9e  
    2424   - ***** END LICENSE BLOCK ***** -->
    2525
     26<?xul-overlay href="chrome://communicator/content/charsetOverlay.xul"?>
     27
    2628<!DOCTYPE window [
     29<!ENTITY % vIstorageExtrasDTD SYSTEM "chrome://v_identity/locale/vI_storageExtras.dtd" >
     30%vIstorageExtrasDTD;
     31<!ENTITY % charsetMenuDTD SYSTEM "chrome://global/locale/charsetMenu.dtd" >
     32%charsetMenuDTD;
    2733<!ENTITY % messengercomposeDTD SYSTEM "chrome://messenger/locale/messengercompose/messengercompose.dtd" >
    2834%messengercomposeDTD;
    29 <!ENTITY % charsetDTD SYSTEM "chrome://global/locale/charsetOverlay.dtd" >
    30 %charsetDTD;
    31 <!ENTITY % vIstorageExtrasDTD SYSTEM "chrome://v_identity/locale/vI_storageExtras.dtd" >
    32 %vIstorageExtrasDTD;
    3335]>
    34 
    3536<overlay id="vI_storageExtras"
    3637          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
     
    6465            oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'maileditCharsetMenuLabel');virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'maileditCharsetMenu');" />
    6566        <hbox id="vI_storageExtras_characterEncoding">
    66             <vbox><spacer flex="1"/>
    67                 <label id="maileditCharsetMenuLabel" value="&charsetMenu.label;"
    68                     accesskey="&charsetMenu.accesskey;" control="maileditCharsetMenu" />
    69             <spacer flex="1"/></vbox>
    70             <menulist id="maileditCharsetMenu"
    71                 datasources="rdf:charset-menu" ref="NC:MaileditCharsetMenuRoot" >
    72             <template>
    73                 <rule>
    74                 <menupopup>
    75                     <menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
    76                 </menupopup>
    77                 </rule>
    78             </template>
    79             <menupopup>
    80                 <menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://global/content/customizeCharset.xul','PrefWindow', 'chrome, dialog, modal, alwaysRaised, resizable=yes', 'mailedit')"/>
    81                 <menuseparator />
    82             </menupopup>
    83             </menulist>
     67        <script>
     68            Components.utils.import("resource://gre/modules/CharsetMenu.jsm");
     69        </script>
     70        <vbox><spacer flex="1"/>
     71            <label id="maileditCharsetMenuLabel" value="&charsetMenu.label;"
     72                accesskey="&charsetMenu.accesskey;" control="maileditCharsetMenu" />
     73        <spacer flex="1"/></vbox>
     74        <menulist id="maileditCharsetMenu">
     75            <menupopup id="charsetPopup"
     76                    onpopupshowing="CharsetMenu.build(this, false, false);"/>
     77        </menulist>
    8478        </hbox>
    8579        </hbox>
Note: See TracChangeset for help on using the changeset viewer.