Ignore:
Timestamp:
Aug 22, 2008, 5:04:02 PM (13 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
086fb7
Parents:
3e173f
Message:

adapted FolderPicker? to new css-driven Style (see https://bugzilla.mozilla.org/show_bug.cgi?id=436630) for TB 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_prefDialog.xul

    r3e173f rcc4b19  
    2323   - Contributor(s):
    2424   - ***** END LICENSE BLOCK ***** -->
    25 
    26 <?xul-overlay href="chrome://messenger/content/msgFolderPickerOverlay.xul"?>
    2725
    2826<!DOCTYPE page [
     
    4442<?xml-stylesheet href="chrome://v_identity/skin/v_identity.css" type="text/css"?>
    4543
    46 <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    47         onload="vI_prefDialog.init();"
    48         buttons="accept,cancel"
    49         ondialogaccept="vI_prefDialog.savePrefs();"
    50         persist="screenX screenY"
    51         title="&vI_prefDialog.dlgTitle.label;">
     44<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     45
     46<dialog id="vI_prefDialog">
    5247
    5348<script type="application/x-javascript"
    5449            src="chrome://v_identity/content/vI_prefDialog.js" />
     50<script type="application/x-javascript"
     51        src="chrome://v_identity/content/vI_prefDialog_FolderPicker.js" />
    5552<script type="application/x-javascript"
    5653            src="chrome://v_identity/content/vI_storageExtras.js" />
     
    184181                        oncommand="setPickersState('msgFccFolderPicker', 'msgFccAccountPicker', event)"
    185182                        observes="VIdent_broadcaster_doFcc"/>
    186                     <row align="center">
     183                    <row align="center" id="msgFccAccountPickerRow">
    187184                        <radio id="VIdent_fcc_selectAccount"
    188185                            value="0" label="&sentFolderOn.label;"
     
    190187                            oncommand="setPickersState('msgFccAccountPicker', 'msgFccFolderPicker', event)"
    191188                            observes="VIdent_broadcaster_doFcc"/>
    192                         <menulist id="msgFccAccountPicker"
    193                             oncommand="noteSelectionChange('VIdent_fcc_selectAccount')"
    194                             flex="1" observes="VIdent_broadcaster_doFcc"/>
    195189                    </row>
    196                     <row align="center">
     190                    <row align="center" id="msgFccFolderPickerRow">
    197191                        <radio id="VIdent_fcc_selectFolder"
    198192                            value="1" label="&sentInOtherFolder.label;"
     
    200194                            oncommand="setPickersState('msgFccFolderPicker', 'msgFccAccountPicker', event)"
    201195                            observes="VIdent_broadcaster_doFcc"/>
    202                         <menulist id="msgFccFolderPicker"
    203                             oncommand="noteSelectionChange('VIdent_fcc_selectFolder')"
    204                             flex="1" observes="VIdent_broadcaster_doFcc"/>
    205196                    </row>
    206197                </rows>
     
    234225                        value="2" label="&vI_prefDialog.vidFccDefault.label;"
    235226                        oncommand="setPickersState('msgDraftsFolderPicker', 'msgDraftsAccountPicker', event)" />
    236                     <row align="center">
     227                    <row align="center" id="msgDraftsAccountPickerRow">
    237228                        <radio id="VIdent_draft_selectAccount"
    238229                            value="0" label="&draftsFolderOn.label;"
    239230                            accesskey="&draftsFolderOn.accesskey;"
    240231                            oncommand="setPickersState('msgDraftsAccountPicker', 'msgDraftsFolderPicker', event)" />
    241                         <menulist id="msgDraftsAccountPicker"
    242                             oncommand="noteSelectionChange('VIdent_draft_selectAccount')" />
    243232                    </row>
    244                     <row align="center">
     233                    <row align="center" id="msgDraftsFolderPickerRow">
    245234                        <radio id="VIdent_draft_selectFolder"
    246235                            value="1" label="&draftInOtherFolder.label;"
    247236                            accesskey="&draftInOtherFolder.accesskey;"
    248237                            oncommand="setPickersState('msgDraftsFolderPicker', 'msgDraftsAccountPicker', event)" />
    249                         <menulist id="msgDraftsFolderPicker"
    250                             oncommand="noteSelectionChange('VIdent_draft_selectFolder')"
    251                             flex="1" />
    252238                    </row>
    253239                </rows>
     
    273259                        value="2" label="&vI_prefDialog.vidFccDefault.label;"
    274260                        oncommand="setPickersState('msgStationeryFolderPicker', 'msgStationeryAccountPicker', event)" />
    275                     <row align="center">
     261                    <row align="center" id="msgStationeryAccountPickerRow">
    276262                        <radio id="VIdent_tmpl_selectAccount"
    277263                            value="0" label="&templatesFolderOn.label;"
    278264                            accesskey="&templatesFolderOn.accesskey;"
    279265                            oncommand="setPickersState('msgStationeryAccountPicker', 'msgStationeryFolderPicker', event)" />
    280                         <menulist id="msgStationeryAccountPicker"
    281                             oncommand="noteSelectionChange('VIdent_tmpl_selectAccount')"
    282                             flex="1" />
    283266                    </row>
    284                     <row align="center">
     267                    <row align="center" id="msgStationeryFolderPickerRow">
    285268                        <radio id="VIdent_tmpl_selectFolder"
    286269                            value="1" label="&templateInOtherFolder.label;"
    287270                            accesskey="&templateInOtherFolder.accesskey;"
    288271                            oncommand="setPickersState('msgStationeryFolderPicker', 'msgStationeryAccountPicker', event)" />
    289                         <menulist id="msgStationeryFolderPicker"
    290                             oncommand="noteSelectionChange('VIdent_tmpl_selectFolder')"
    291                             flex="1" />
    292272                    </row>
    293273                </rows>
     
    507487</tabbox>
    508488</dialog>
     489</overlay>
Note: See TracChangeset for help on using the changeset viewer.