This is just some static backup of the original site, don't expect every link to work!

Ignore:
Timestamp:
Nov 26, 2011, 6:53:31 PM (11 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
826c34
Parents:
99ced4
Message:

tons of changes, mostly namespace-related

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/bindings/vI_rdfAccountMismatchDialog.xml

    r99ced4 rf29419  
    7777        var menuitem = document.createElement("menuitem");
    7878        menuitem.setAttribute("class", "mismatchMenuitem");
    79         menuitem.setAttribute("label",  document.getElementById("removeRelationLabel").getAttribute("value"));
     79        menuitem.setAttribute("label",  document.getElementById("virtualIdentityExtension_removeRelationLabel").getAttribute("value"));
    8080        menuitem.setAttribute("key",  "");
    8181        document.getAnonymousElementByAttribute(this, "class", "mismatchMenupopup").appendChild(menuitem);
     
    155155    <method name="_addIdentities">
    156156        <body><![CDATA[
    157         virtualIdentityExtension.MyLog.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addIdentities.\n");
     157        virtualIdentityExtension.Log.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addIdentities.\n");
    158158        var AccountManager = Components.classes["@mozilla.org/messenger/account-manager;1"]
    159159            .getService(Components.interfaces.nsIMsgAccountManager);
     
    177177        <parameter name="server" />
    178178        <body><![CDATA[
    179             virtualIdentityExtension.MyLog.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addSmtp.\n");
     179            virtualIdentityExtension.Log.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addSmtp.\n");
    180180            const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
    181181            var menuitem = document.createElementNS(XUL_NS, "menuitem"); // create a new XUL menuitem
     
    190190    <method name="_addSmtpServers">
    191191        <body><![CDATA[
    192             virtualIdentityExtension.MyLog.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addSmtpServers.\n");
     192            virtualIdentityExtension.Log.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addSmtpServers.\n");
    193193           
    194194            const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
     
    196196            menuitem.setAttribute("class", "mismatchMenuitem");
    197197            menuitem.setAttribute("key", virtualIdentityExtension.identityData.DEFAULT_SMTP_TAG);
    198             menuitem.setAttribute("label", document.getElementById("bundle_messenger").getString("defaultServerTag"));
     198           
     199            menuitem.setAttribute("label", Components.classes["@mozilla.org/intl/stringbundle;1"]
     200              .getService(Components.interfaces.nsIStringBundleService)
     201              .createBundle("chrome://v_identity/locale/v_identity.properties")
     202              .GetStringFromName("defaultServerTag"));
     203       
    199204            this.appendChild(menuitem);
    200205           
     
    209214    <constructor>
    210215        <![CDATA[       
    211         virtualIdentityExtension.MyLog.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: constructor.\n");
     216        virtualIdentityExtension.Log.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: constructor.\n");
    212217        const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
    213218        this.appendChild(document.createElementNS(XUL_NS, "menuseparator")); // create a new XUL menuseparator
Note: See TracChangeset for help on using the changeset viewer.