Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dialog.md with info about filter extensions #2553

Merged
merged 2 commits into from Aug 25, 2015

Conversation

etiktin
Copy link
Contributor

@etiktin etiktin commented Aug 21, 2015

There was some confusion about the correct way to add an All Files filter (see #2525), so I added it to the example.
Also added a short note about the extension syntax.

This is related to PR #2547.

There was some confusion about the correct way to add an `All Files` filter (see electron#2525), so I added it to the example.
Also added a short note about the extension syntax.

This is related to PR electron#2547.
]
}
```
The `extensions` array should contain extensions without wildcards or dots (e.g. `'png'` is good, `'.png'` and `'*.png'` are bad). To show all files, use the `'*'` wildcard (no other wildcard is supported).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The columns of line should be no greater than 80 characters.

@hokein
Copy link
Contributor

hokein commented Aug 22, 2015

Thanks for the following updated work!

@etiktin
Copy link
Contributor Author

etiktin commented Aug 22, 2015

@hokein, it's fixed.

@zcbenz
Copy link
Member

zcbenz commented Aug 25, 2015

Thanks!

zcbenz added a commit that referenced this pull request Aug 25, 2015
Update dialog.md with info about filter extensions
@zcbenz zcbenz merged commit a14739b into electron:master Aug 25, 2015
@etiktin etiktin deleted the patch-3 branch September 4, 2015 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants