simplifying list generation for mime types, applying xdg-mime patch & cargo fmt
This commit is contained in:
parent
e3226d8dc2
commit
b288cd0581
4 changed files with 41 additions and 90 deletions
|
|
@ -78,4 +78,4 @@ pub fn parent_mime_types(mime: &Mime) -> Option<Vec<Mime>> {
|
|||
let mut mime_icon_cache = MIME_ICON_CACHE.lock().unwrap();
|
||||
|
||||
mime_icon_cache.shared_mime_info.get_parents_aliased(mime)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue