bug 191471 - Add accesskeys to the xp filepicker, r=dean_tessman, sr=dmose, checking in for piersc@cogs.susx.ac.uk

This commit is contained in:
kairo%kairo.at 2003-02-22 14:06:14 +00:00
parent a97ef62c92
commit 008555b003
2 changed files with 8 additions and 4 deletions

View File

@ -44,7 +44,7 @@
<script type="application/x-javascript" src="chrome://global/content/filepicker.js"/>
<hbox align="center">
<label value="&lookInMenuList.label;"/>
<label value="&lookInMenuList.label;" control="lookInMenuList" accesskey="&lookInMenuList.accesskey;"/>
<menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);" crop="start">
<menupopup id="lookInMenu"/>
</menulist>
@ -85,19 +85,19 @@
<rows>
<row align="center">
<label value="&textInput.label;" id="textInputLabel"/>
<label value="&textInput.label;" id="textInputLabel" control="textInput" accesskey="&textInput.accesskey;"/>
<textbox id="textInput" flex="1" oninput="doEnabling()"
onfocus="onTextFieldFocus();"/>
</row>
<row id="filterBox" hidden="true" align="center">
<label value="&filterMenuList.label;"/>
<label value="&filterMenuList.label;" control="filterMenuList" accesskey="&filterMenuList.accesskey;"/>
<menulist id="filterMenuList" flex="1" oncommand="onFilterChanged(event.target);"/>
</row>
</rows>
</grid>
<hbox class="dialog-button-box" align="center">
<checkbox label="&showHiddenFiles.label;" oncommand="toggleShowHidden();"
flex="1" align="left"/>
flex="1" align="left" accesskey="&showHiddenFiles.accesskey;"/>
<button dlgtype="accept" class="dialog-button"/>
<button dlgtype="cancel" class="dialog-button"/>
</hbox>

View File

@ -1,11 +1,15 @@
<!ENTITY lookInMenuList.label "Look in:">
<!ENTITY lookInMenuList.accesskey "L">
<!ENTITY textInput.label "File name:">
<!ENTITY textInput.accesskey "n">
<!ENTITY filterMenuList.label "Files of type:">
<!ENTITY filterMenuList.accesskey "t">
<!ENTITY name.label "Name">
<!ENTITY size.label "Size">
<!ENTITY lastModified.label "Last Modified">
<!ENTITY permissions.label "Permissions">
<!ENTITY showHiddenFiles.label "Show hidden files and directories">
<!ENTITY showHiddenFiles.accesskey "S">
<!ENTITY noPermissionError.label "You do not have the permissions necessary to view this directory.">