Changeset be337d
- Timestamp:
- Dec 14, 2009, 4:28:37 PM (11 years ago)
- Branches:
- multiEdit, ng_0.6, ng_0.8, ng_0.9
- Children:
- 8ea0df
- Parents:
- 9c2ab4
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chrome/content/v_identity/vI_msgIdentityCloneTools.js
r9c2ab4 rbe337d 42 42 signatureSwitch: function(existingIdentity) { 43 43 if (!existingIdentity) { 44 // code to hide the signature 44 vI_notificationBar.dump("## vI_msgIdentityCloneTools: signatureSwitch hide/remove signatures\n"); 45 // code to hide the text signature 45 46 try { if (vI.preferences.getBoolPref("hide_signature") && ss_signature.length == 0) 46 47 ss_main.signatureSwitch() 47 48 } catch(vErr) { }; 49 // code to hide the sMime signature 50 try { if (vI.preferences.getBoolPref("hide_sMime_messageSignature")) { 51 var element = document.getElementById("menu_securitySign1"); 52 if (element.getAttribute("checked") == "true") { 53 vI_notificationBar.dump("## signatureSwitch hide_sMime_messageSignature with doCommand\n"); 54 element.doCommand(); 55 } 56 } 57 // document.getElementById("menu_securitySign1").removeAttribute("checked"); 58 } catch(vErr) { }; 59 // code to hide the openGPG signature 60 try { if (vI.preferences.getBoolPref("hide_openPGP_messageSignature")) { 61 var element = document.getElementById("enigmail_signed_send"); 62 if (element.getAttribute("checked") == "true") { 63 vI_notificationBar.dump("## signatureSwitch hide_openPGP_messageSignature with doCommand\n"); 64 element.doCommand(); 65 } 66 } 67 // document.getElementById("enigmail_signed_send").removeAttribute("checked"); 68 } catch(vErr) { }; 48 69 } 49 70 else { 50 // code to show the signature 71 vI_notificationBar.dump("## vI_msgIdentityCloneTools: signatureSwitch restore signature\n"); 72 // code to show the text signature 51 73 try { if (ss_signature.length > 0) ss_main.signatureSwitch(); } 52 74 catch(vErr) { }; 75 // sMime and openGPG signature will not be re-added automatically 53 76 } 54 77 }, -
chrome/content/v_identity/vI_prefDialog.js
r9c2ab4 rbe337d 61 61 "VIdent_identity.warn_virtual", 62 62 "VIdent_identity.hide_signature", 63 "VIdent_identity.hide_sMime_messageSignature", 64 "VIdent_identity.hide_openPGP_messageSignature", 63 65 "VIdent_identity.storage", 64 66 "VIdent_identity.storage_storedefault", … … 256 258 } 257 259 const enigmail_ID="{847b3a00-7ab1-11d4-8f02-006008948af5}" 258 if (!vI_helper.extensionActive(enigmail_ID)) 260 if (!vI_helper.extensionActive(enigmail_ID)) { 259 261 document.getElementById("openPGPencryption").setAttribute("hidden", "true"); 260 262 document.getElementById("VIdent_identity.hide_openPGP_messageSignature").setAttribute("hidden", "true"); 263 } 264 261 265 vI_prefDialog.base.smartReplyConstraint(document.getElementById("VIdent_identity.smart_reply")); 262 266 vI_prefDialog.base.smartReplyHideSignature(); -
chrome/content/v_identity/vI_prefDialog.xul
r9c2ab4 rbe337d 321 321 <checkbox id="VIdent_identity.hide_signature" label="&vI_prefDialog.composeDialog.HideSignature.label;" disabled="true" 322 322 prefstring="hide_signature"/> 323 <checkbox id="VIdent_identity.hide_sMime_messageSignature" label="&vI_prefDialog.composeDialog.HideSMimeSignature.label;" 324 prefstring="hide_sMime_messageSignature"/> 325 <checkbox id="VIdent_identity.hide_openPGP_messageSignature" label="&vI_prefDialog.composeDialog.HideOpenPGPSignature.label;" 326 prefstring="hide_openPGP_messageSignature"/> 323 327 <checkbox id="VIdent_identity.autoReplyToSelf" label="&vI_prefDialog.composeDialog.autoReplyToSelf.label;" 324 328 prefstring="autoReplyToSelf"/> -
chrome/locale/en-US/v_identity/vI_prefDialog.dtd
r9c2ab4 rbe337d 78 78 <!ENTITY vI_prefDialog.composeDialog.HideSignature.warning.desc "note: to enable dynamic deactivation of signatures you have to install (and activate) the 'Signature Switch' extension. By now this option is not available."> 79 79 <!ENTITY vI_prefDialog.composeDialog.HideSignature.label "remove any 'Signatur' while using a Virtual Identity"> 80 <!ENTITY vI_prefDialog.composeDialog.HideSMimeSignature.label "deactivate S/MIME signature when using a Virtual Identity"> 81 <!ENTITY vI_prefDialog.composeDialog.HideOpenPGPSignature.label "deactivate openPGP signature when using a Virtual Identity"> 80 82 <!ENTITY vI_prefDialog.composeDialog.autoReplyToSelf.label "set Virtual Identity as Reply-To address"> 81 83 <!ENTITY vI_prefDialog.composeDialog.SMTP.label "show SMTP Menu"> -
defaults/preferences/preferences.js
r9c2ab4 rbe337d 29 29 pref("extensions.virtualIdentity.warn_virtual", false); 30 30 pref("extensions.virtualIdentity.hide_signature", false); 31 pref("extensions.virtualIdentity.hide_sMime_messageSignature", false); 32 pref("extensions.virtualIdentity.hide_openPGP_messageSignature", false); 31 33 pref("extensions.virtualIdentity.storage", true); 32 34 pref("extensions.virtualIdentity.storage_storedefault", true);
Note: See TracChangeset
for help on using the changeset viewer.