No description
The 'Open with...' dialog let you pick an app but never remembered your choice — you'd see the same dialog again next time. The infrastructure was already there (MimeAppCache::set_default writes to mimeapps.list), just never wired to the UI. Adds a toggler below the app list labelled 'Always use this app for this file type' (EN) / 'Toujours utiliser cette application pour ce type de fichier' (FR). When enabled, after spawning the selected app, the default handler for the file's mime type is persisted via self.mime_app_cache.set_default(mime, app.id). Implementation: - DialogPage::OpenWith gains a set_default: bool field (defaulted false) - Message::OpenWithToggleDefault(bool) + handler mutates the dialog state - DialogComplete handler for OpenWith calls set_default after a clean spawn when the flag is set - Dialog rendering adds a .control(widget::row) with label + toggler, between the scrollable list and the action buttons - i18n strings added: en/fr open-with-set-default |
||
|---|---|---|
| .github | ||
| cosmic-files-applet | ||
| debian | ||
| examples | ||
| i18n | ||
| res | ||
| samples | ||
| scripts | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| i18n.toml | ||
| justfile | ||
| LICENSE | ||
| README.md | ||
| TESTING.md | ||
cosmic-files
File manager for the COSMIC desktop environment
Build the project from source
# Clone the project using `git`
git clone https://github.com/pop-os/cosmic-files
# Change to the directory that was created by `git`
cd cosmic-files
# Build an optimized version using `cargo`, this may take a while
cargo build --release
# Run the optimized version using `cargo`
cargo run --release
Community and Contributing
The COSMIC desktop environment is maintained by System76 for use in Pop!_OS. A list of all COSMIC projects can be found in the cosmic-epoch project's README. If you would like to discuss COSMIC and Pop!_OS, please consider joining the Pop!_OS Chat. More information and links can be found on the Pop!_OS Website.
License
This project is licensed under GPLv3