cosmic-files/src
nilltadios 0af3d12e9e fix: support absolute paths in .desktop file Icon field
Per the FreeDesktop Desktop Entry spec, the Icon field can be either
an icon name (looked up in the theme) or an absolute path to an image.
Previously, all Icon values were passed to `widget::icon::from_name()`,
which only works for icon names.

This adds a `desktop_icon_handle()` helper that checks if the path is
absolute and exists, using `widget::icon::from_path()` for absolute
paths and `widget::icon::from_name()` for icon names.

Fixes: https://github.com/pop-os/cosmic-epoch/issues/2697
2025-12-29 10:51:15 -06:00
..
mounter fix: update network path when entering uri 2025-12-08 17:12:23 -07:00
operation Empty trash as much as possible 2025-12-19 11:52:07 -07:00
app.rs feat: add multi-file preview 2025-12-26 13:21:19 -06:00
archive.rs perf: general minor performance optimisations 2025-10-29 08:16:50 +10:00
clipboard.rs perf: general minor performance optimisations 2025-10-29 08:16:50 +10:00
config.rs perf: general minor performance optimisations 2025-10-29 08:16:50 +10:00
dialog.rs feat: add multi-file preview 2025-12-26 13:21:19 -06:00
key_bind.rs Add reload folder key binding, fixes #146 2025-05-15 10:55:11 -06:00
large_image.rs implement adaptive sampling for optimal image quality of large images in gallery view while keeping the memory foodprint minimal and UI blocks from GPU buffer uploads minimal and as short as possible 2025-11-16 21:31:27 +01:00
lib.rs move large image handling out of tab and into new module large_image 2025-11-16 18:12:51 +01:00
localize.rs chore: more pedantic clippy suggestions 2025-10-29 08:10:19 +10:00
main.rs chore: update libcosmic with mmap threshold fix 2025-02-12 19:19:19 +01:00
menu.rs perf: general minor performance optimisations 2025-10-29 08:16:50 +10:00
mime_app.rs Replace freedesktop_entry_parser with cosmic-mime-apps 2025-12-02 11:26:09 -07:00
mime_icon.rs perf: general minor performance optimisations 2025-10-29 08:16:50 +10:00
mouse_area.rs chore: more pedantic clippy suggestions 2025-10-29 08:10:19 +10:00
spawn_detached.rs fix: avoid leaving zombie processes on unix 2025-10-12 17:04:54 +10:00
tab.rs fix: support absolute paths in .desktop file Icon field 2025-12-29 10:51:15 -06:00
thumbnail_cacher.rs perf: general minor performance optimisations 2025-10-29 08:16:50 +10:00
thumbnailer.rs perf: general minor performance optimisations 2025-10-29 08:16:50 +10:00
zoom.rs perf: general minor performance optimisations 2025-10-29 08:16:50 +10:00