Repository navigation
fix(fs): show the folder icon for the XDG Projects directory - #343
Merged
Merged
Conversation
crian
force-pushed
the
xdg-projects-dir
branch
from
December 6, 2026 00:55
cf0a15e to
2802645
Compare
There was a problem hiding this comment.
Talia preliminary review
| Check | Result |
|---|---|
| Merge score | 🟢 5/5 — No issues found; ready for CI and human review |
| Findings | None found |
| Review depth | 4/5 — how thoroughly the changed code could be checked by reading it |
| Coverage | 1 of 1 changed files reviewed |
What Talia checked: Inspected the added GLib-guarded Projects entry, setLocalFolder/getLocal consumption, GIO-match test, packaging's GLib 2.76+ floor and architecture notes; remaining uncertainty is external GLib 2.90 enum/icon-name and precedence details not verifiable in-repo.
Run details
- Commit reviewed: 2802645
- Source lookups: 24 file reads, 20 searches
- Prompt version: 859b7490ca3d
Preliminary automated review: Talia read the changed code and related source; nothing was built, run or tested, and AI can make mistakes. It is not a scope acceptance or a promise to merge; a human reviewer makes the final call. See our ethos.
Member
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the XDG Projects directory to the special folders that get a themed icon. Luciole now shows
folder-projectsfor it, like it does for Documents, Downloads and the others.GLib 2.90 added
G_USER_DIRECTORY_PROJECTSforXDG_PROJECTS_DIR(xdg-user-dirs 0.20; the enum first shipped in the 2.89 development release). The entry sits behindGLIB_CHECK_VERSION(2, 90, 0), so the build is unchanged with older GLib, where the folder keeps the plain folder icon.Motivation
With xdg-user-dirs 0.20 the Projects folder has a standard icon in the theme (folder-projects), but Luciole shows the generic folder icon.
FileIconPool::setLocalFolderonly knew the eight directories that older GLib versions expose.Type of Change
Related Issue
Testing
Screenshots / Videos
Checklist
SCOPE.md, or its scope was agreed in an issue or on Discord first.CONTRIBUTING.md.just format, or this PR has no C++ changes.just lintand the relevant build or test commands, or explained why they were not run.just role-alpha-check, or this PR does not change UI colors.docs/, or this PR does not change user-facing behavior or settings.Additional Notes