Add context menu

This commit is contained in:
Jeremy Soller 2024-01-05 11:18:38 -07:00
parent 2d0a0059d3
commit ac93fc79d4
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
7 changed files with 473 additions and 54 deletions

View file

@ -7,6 +7,7 @@ pub const FALLBACK_MIME_ICON: &str = "text-x-generic";
#[derive(Debug, Eq, Hash, PartialEq)]
struct MimeIconKey {
//TODO: this stores icon data for every path, instead store per mime type
path: String,
size: u16,
}