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

Ignore:
Timestamp:
Sep 25, 2011, 9:23:06 PM (11 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
284956
Parents:
7666cb
Message:

compatibility for conversation plugin

File:
1 edited

Legend:

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

    r7666cb r9cedc0  
    2424virtualIdentityExtension.ns(function() { with (virtualIdentityExtension.LIB) {
    2525var msgIdentityCloneTools = {   
     26    _pref : Components.classes["@mozilla.org/preferences-service;1"]
     27        .getService(Components.interfaces.nsIPrefService)
     28        .getBranch("extensions.virtualIdentity."),
     29
    2630    copySelectedIdentity : function(id_key) {
    2731        vI.notificationBar.dump("## msgIdentityCloneTools: copySelectedIdentity\n");
     
    4650            vI.notificationBar.dump("## msgIdentityCloneTools: signatureSwitch hide/remove signatures\n");
    4751            // code to hide the text signature
    48             try { if (vI.main.preferences.getBoolPref("hide_signature") && ss_signature.length == 0) {
     52            try { if (msgIdentityCloneTools._pref.getBoolPref("hide_signature") && ss_signature.length == 0) {
    4953                vI.notificationBar.dump("## msgIdentityCloneTools: hide text/html signature");
    5054                ss_main.signatureSwitch()
     
    5256            } } catch(vErr) { vI.notificationBar.dump(" -- missing signatureSwitch extension?\n"); };
    5357            // code to hide the sMime signature
    54             try { if (vI.main.preferences.getBoolPref("hide_sMime_messageSignature")) {
     58            try { if (msgIdentityCloneTools._pref.getBoolPref("hide_sMime_messageSignature")) {
    5559                var element = document.getElementById("menu_securitySign1");
    5660                if (element.getAttribute("checked") == "true") {
     
    6266            } catch(vErr) { };
    6367            // code to hide the openGPG signature
    64             try { if (vI.main.preferences.getBoolPref("hide_openPGP_messageSignature")) {
     68            try { if (msgIdentityCloneTools._pref.getBoolPref("hide_openPGP_messageSignature")) {
    6569                var element = document.getElementById("enigmail_signed_send");
    6670                if (element.getAttribute("checked") == "true") {
Note: See TracChangeset for help on using the changeset viewer.