Improved open with dialog, part of #547

This commit is contained in:
Jeremy Soller 2024-10-03 14:54:18 -06:00
parent 08e872a6f1
commit fef57ee031
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
4 changed files with 129 additions and 91 deletions

View file

@ -60,7 +60,9 @@ impl From<&desktop::DesktopEntryData> for MimeApp {
name: app.name.clone(),
exec: app.exec.clone(),
icon: match &app.icon {
desktop::IconSource::Name(name) => widget::icon::from_name(name.as_str()).handle(),
desktop::IconSource::Name(name) => {
widget::icon::from_name(name.as_str()).size(32).handle()
}
desktop::IconSource::Path(path) => widget::icon::from_path(path.clone()),
},
is_default: false,