Bug 39036 - add a checkbox to allow showing hidden files (dot files). r=ben, sr=jag.

This commit is contained in:
bryner%netscape.com 2002-02-12 07:21:22 +00:00
parent a40bd26c3f
commit 6d112fde77
3 changed files with 10 additions and 0 deletions

View File

@ -571,3 +571,6 @@ function gotoDirectory(directory) {
sfile = directory;
}
function toggleShowHidden(event) {
outlinerView.showHiddenFiles = !outlinerView.showHiddenFiles;
}

View File

@ -91,4 +91,10 @@
</row>
</rows>
</grid>
<hbox class="dialog-button-box" align="center" pack="end">
<checkbox label="&showHiddenFiles.label;" oncommand="toggleShowHidden();"
flex="1" align="left"/>
<button dlgtype="accept" class="dialog-button"/>
<button dlgtype="cancel" class="dialog-button"/>
</hbox>
</dialog>

View File

@ -5,5 +5,6 @@
<!ENTITY size.label "Size">
<!ENTITY lastModified.label "Last Modified">
<!ENTITY permissions.label "Permissions">
<!ENTITY showHiddenFiles.label "Show hidden files and directories">
<!ENTITY noPermissionError.label "You do not have the permissions necessary to view this directory.">