Changeset 8d283f


Ignore:
Timestamp:
Jul 31, 2014, 2:13:44 PM (6 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
41bb0d
Parents:
b96555
Message:

fixes to use new folder-picker standard

Location:
content/prefDialog
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • content/prefDialog/vI_prefDialog_FolderPicker.js

    rb96555 r8d283f  
    373373vI.onSaveCopiesAndFolders = onSaveCopiesAndFolders;
    374374vI.setPickersState = setPickersState;
     375vI.gFccRadioElemChoice = gFccRadioElemChoice;
     376vI.gDraftsRadioElemChoice = gDraftsRadioElemChoice;
     377vI.gTmplRadioElemChoice = gTmplRadioElemChoice;
     378
    375379}});
  • content/prefDialog/vI_prefDialog_TB3FolderPicker.js

    rb96555 r8d283f  
    7474    {
    7575        case "VIdent_doFcc" :
    76             gFccRadioElemChoice = modeValue;
     76            vI.gFccRadioElemChoice = modeValue;
    7777            picker = document.getElementById("msgFccFolderPicker");
    7878            break;
    7979   
    8080        case "VIdent_messageDrafts" :
    81             gDraftsRadioElemChoice = modeValue;
     81            vI.gDraftsRadioElemChoice = modeValue;
    8282            picker = document.getElementById("msgDraftsFolderPicker");
    8383            break;
    8484
    8585        case "VIdent_messageTemplates" :
    86             gTmplRadioElemChoice = modeValue;
     86            vI.gTmplRadioElemChoice = modeValue;
    8787            picker = document.getElementById("msgStationeryFolderPicker");
    8888            break;
     
    128128vI.InitFolderDisplays = InitFolderDisplays;
    129129vI.SaveFolderSettings = SaveFolderSettings;
     130vI.noteSelectionChange = noteSelectionChange;
    130131}});
  • content/prefDialog/vI_prefDialog_TB3FolderPicker.xul

    rb96555 r8d283f  
    2424   - ***** END LICENSE BLOCK ***** -->
    2525
    26 <!DOCTYPE pickerDTD SYSTEM "chrome://messenger/locale/msgFolderPickerOverlay.dtd">
    27 <?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
     26<!DOCTYPE overlay SYSTEM "chrome://messenger/locale/msgFolderPickerOverlay.dtd">
     27<?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>
    2828
    2929<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     
    4545        <menulist id="msgFccFolderPicker"
    4646              aria-labelledby="VIdent_fcc_selectFolder"
    47               oncommand="noteSelectionChange('VIdent_fcc_selectFolder', event)"
    48               observes="VIdent_broadcaster_doFcc">
    49             <menupopup id="msgFccFolderPopup" type="folder" mode="filing"
    50                    showFileHereLabel="true"
    51                    fileHereLabel="&filemessageschoosethis.label;"/>
     47              oncommand="virtualIdentityExtension.noteSelectionChange('VIdent_fcc_selectFolder', event)">
     48            <menupopup class="searchPopup menulist-menupopup"
     49                      type="folder"
     50                      mode="search"
     51                      showAccountsFileHere="true"
     52                      showFileHereLabel="true"/>
    5253        </menulist>
    5354    </row>
     
    6263        <menulist id="msgDraftsFolderPicker"
    6364              aria-labelledby="VIdent_draft_selectFolder"
    64               oncommand="noteSelectionChange('VIdent_draft_selectFolder', event)">
    65             <menupopup id="msgDraftFolderPopup" type="folder" mode="filing"
    66                    showFileHereLabel="true"
    67                    fileHereLabel="&filemessageschoosethis.label;"/>
     65              oncommand="virtualIdentityExtension.noteSelectionChange('VIdent_draft_selectFolder', event)">
     66            <menupopup class="searchPopup menulist-menupopup"
     67                      type="folder"
     68                      mode="filing"
     69                      showAccountsFileHere="true"
     70                      showFileHereLabel="true"/>
    6871        </menulist>
    6972    </row>
     
    7881        <menulist id="msgStationeryFolderPicker"
    7982              aria-labelledby="VIdent_tmpl_selectFolder"
    80               oncommand="noteSelectionChange('VIdent_tmpl_selectFolder', event)">
    81             <menupopup id="msgTemplFolderPopup" type="folder" mode="filing"
    82                    showFileHereLabel="true"
    83                    fileHereLabel="&filemessageschoosethis.label;"/>
     83              oncommand="virtualIdentityExtension.noteSelectionChange('VIdent_tmpl_selectFolder', event)">
     84            <menupopup class="searchPopup menulist-menupopup"
     85                      type="folder"
     86                      mode="filing"
     87                      showAccountsFileHere="true"
     88                      showFileHereLabel="true"/>
    8489        </menulist>
    8590    </row>
Note: See TracChangeset for help on using the changeset viewer.