mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 39036 - add a checkbox to allow showing hidden files (dot files). r=ben, sr=jag.
This commit is contained in:
parent
a40bd26c3f
commit
6d112fde77
@ -571,3 +571,6 @@ function gotoDirectory(directory) {
|
||||
sfile = directory;
|
||||
}
|
||||
|
||||
function toggleShowHidden(event) {
|
||||
outlinerView.showHiddenFiles = !outlinerView.showHiddenFiles;
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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.">
|
||||
|
Loading…
Reference in New Issue
Block a user