Changeset 43a1e5


Ignore:
Timestamp:
Jun 24, 2008, 2:02:03 AM (13 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
d55796
Parents:
99a542
Message:

fix for ticket 63: added option to fcc to reply directory

Location:
chrome/content/v_identity
Files:
3 edited

Legend:

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

    r99a542 r43a1e5  
    226226                vI_account.account.defaultIdentity.fccFolder = vI_account.AccountManager.defaultAccount.defaultIdentity.fccFolder;
    227227                vI_account.account.defaultIdentity.fccFolderPickerMode = vI_account.AccountManager.defaultAccount.defaultIdentity.fccFolderPickerMode;
     228                vI_account.account.defaultIdentity.fccReplyFollowsParent = vI_account.AccountManager.defaultAccount.defaultIdentity.fccReplyFollowsParent;
    228229                break;
    229230                case "3"  :
     
    232233                vI_account.account.defaultIdentity.fccFolder = vI_helper.getBaseIdentity().fccFolder;
    233234                vI_account.account.defaultIdentity.fccFolderPickerMode = vI_helper.getBaseIdentity().fccFolderPickerMode;
     235                vI_account.account.defaultIdentity.fccReplyFollowsParent = vI_helper.getBaseIdentity().fccReplyFollowsParent;
    234236                break;
    235237                default  :
     
    241243                vI_account.account.defaultIdentity.fccFolderPickerMode
    242244                    = vI.preferences.getCharPref("fccFolderPickerMode");
     245                vI_account.account.defaultIdentity.fccReplyFollowsParent = vI.preferences.getBoolPref("fccReplyFollowsParent");
     246
    243247                break;
    244248            }
  • chrome/content/v_identity/vI_prefDialog.js

    r99a542 r43a1e5  
    4040                "VIdent_identity.fccFolderPickerMode",
    4141                "VIdent_identity.fccFolder",
     42                "VIdent_identity.fccReplyFollowsParent",
    4243                "VIdent_identity.draftFolderPickerMode",
    4344                "VIdent_identity.draftFolder",
     
    671672    var selectedElementUri;
    672673    var radioElemValue = event.target.value;
    673 
     674   
    674675    switch (event.target.id) {
    675676    case "VIdent_fcc_Settings_Of_Account":
     
    699700    }
    700701   
     702    switch (event.target.id) {
     703        case "VIdent_fcc_Settings_Of_Account":
     704    case "VIdent_fcc_Settings_Of_Default":
     705        document.getElementById("VIdent_identity.fccReplyFollowsParent").setAttribute("disabled","true");
     706        break;
     707        case "VIdent_fcc_selectAccount":
     708        case "VIdent_fcc_selectFolder" :
     709        document.getElementById("VIdent_identity.fccReplyFollowsParent").removeAttribute("disabled")
     710            break;
     711     }
    701712    //~ SetFolderPicker(selectedElementUri, enablePickerId);
    702713}
  • chrome/content/v_identity/vI_prefDialog.xul

    r99a542 r43a1e5  
    203203            </grid>
    204204            </radiogroup>
     205            <hbox align="center" class="fccReplyFollowsParent">
     206                <checkbox wsm_persist="true" id="VIdent_identity.fccReplyFollowsParent"
     207                      label="&fccReplyFollowsParent.label;"
     208                      accesskey="&fccReplyFollowsParent.accesskey;"
     209                      prefattribute="value"
     210                      prefstring="fccReplyFollowsParent"
     211                      observes="VIdent_broadcaster_doFcc"/>
     212            </hbox>
    205213
    206214            </groupbox>
Note: See TracChangeset for help on using the changeset viewer.