mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
update filter names
This commit is contained in:
parent
782b7be8ba
commit
75fc7f68b8
@ -42,12 +42,12 @@ impl File {
|
|||||||
|
|
||||||
let filter_all = FileFilter::new();
|
let filter_all = FileFilter::new();
|
||||||
filter_all.add_pattern("*.*");
|
filter_all.add_pattern("*.*");
|
||||||
filter_all.set_name(Some("All files"));
|
filter_all.set_name(Some("All"));
|
||||||
filters.append(&filter_all);
|
filters.append(&filter_all);
|
||||||
|
|
||||||
let filter_pem = FileFilter::new();
|
let filter_pem = FileFilter::new();
|
||||||
filter_pem.add_mime_type("application/x-x509-ca-cert");
|
filter_pem.add_mime_type("application/x-x509-ca-cert");
|
||||||
filter_pem.set_name(Some("Certificates (*.pem)"));
|
filter_pem.set_name(Some("Certificate (*.pem)"));
|
||||||
filters.append(&filter_pem);
|
filters.append(&filter_pem);
|
||||||
|
|
||||||
// Init file dialog
|
// Init file dialog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user