Changeset e0d779


Ignore:
Timestamp:
Dec 14, 2009, 9:35:25 PM (10 years ago)
Author:
rene <rene@…>
Branches:
multiEdit, ng_0.6, ng_0.8, ng_0.9
Children:
b04a70
Parents:
8ea0df
Message:

don't show fcc-switch when using real identity, it won't work

Location:
chrome
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/v_identity.js

    r8ea0df re0d779  
    219219        window.addEventListener('compose-window-reopen', vI.reopen, true);
    220220        window.addEventListener('compose-window-close', vI.close, true);
     221       
     222        // append observer to fcc_switch, because it does'n work with real identities (hidden by css)
     223        document.getElementById("fcc_switch").appendChild(document.getElementById("msgIdentity_clone_observer").cloneNode(false));
     224
    221225        vI.initSystemStage1();
    222226        vI_notificationBar.dump("## v_identity: init done.\n\n")
  • chrome/content/v_identity/v_identity.xul

    r8ea0df re0d779  
    7575    </menulist>
    7676    <checkbox id="fcc_switch" label="&vident.composeDialog.fcc_switch.label;"
    77           tooltiptext="&vident.composeDialog.fcc_switch.tooltiptext;" hidden="true" />
     77        tooltiptext="&vident.composeDialog.fcc_switch.tooltiptext;" hidden="true" doFcc="false"
     78        oncommand="if (this.doFcc == this.checked) this.checked = !(this.checked); this.doFcc = this.checked;" />
    7879    <popupset id="vI_tooltipPopupset" />
    7980</hbox>
     
    116117              align="right">
    117118        <label value="&vident.vidLogo.label; &vident.version;" />
    118         <observes element="msgIdentity_clone" attribute="vid" />
     119        <observes id="msgIdentity_clone_observer" element="msgIdentity_clone" attribute="vid" />
    119120    </statusbarpanel>
    120121      <statusbarpanel id="vI-status-menu" save="off"
  • chrome/skin/classic/v_identity/v_identity.css

    r8ea0df re0d779  
    22@import url("chrome://v_identity/locale/logo.css");
    33@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     4
     5#fcc_switch[vid="false"] {
     6    display: none;
     7}
    48
    59#msgIdentity_clone .smtpServerListHbox {
Note: See TracChangeset for help on using the changeset viewer.