Changeset 72a662


Ignore:
Timestamp:
Oct 7, 2009, 1:32:30 PM (10 years ago)
Author:
rene <rene@…>
Branches:
lite_0.1, multiEdit, ng_0.6, ng_0.6_help, ng_0.8, ng_0.9
Children:
fd2787
Parents:
1e4f6f
Message:

reset enigmail storage settings if enigmail is not available

File:
1 edited

Legend:

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

    r1e4f6f r72a662  
    102102        awSetInputAndPopupValue = function (inputElem, inputValue, popupElem, popupValue, rowNumber) {
    103103            vI_storage.replacement_functions.awSetInputAndPopupValue (inputElem, inputValue, popupElem, popupValue, rowNumber) }
     104
     105        // reset unavailable storageExtras preferences
     106        const enigmail_ID="{847b3a00-7ab1-11d4-8f02-006008948af5}"
     107        if (!vI_helper.extensionActive(enigmail_ID)) {
     108            vI.preferences.setBoolPref("storageExtras_openPGP_messageEncryption", false)
     109            vI.preferences.setBoolPref("storageExtras_openPGP_messageSignature", false)
     110            vI.preferences.setBoolPref("storageExtras_openPGP_PGPMIME", false)
     111        }
    104112    },
    105113   
Note: See TracChangeset for help on using the changeset viewer.