Create the system for annotating the file icons in dolphin
The Gnome system to annotate the files in Nautilus depends on their inbuilt annotation system which they call "emblems". We need to provide a similar way to annotate the file icons based on their Dropbox status, preferably using an existing KDE system. If this is not possible then we need to implement the annotation framework and look for help from upstream.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
-
Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Idea: Dolphin doesn't support emblems directly. It does support setting a custom icon for a folder via the .directory file specification. It would be possible to implement emblems like so:
1. At startup, create some custom folder icons using emblems included in the installation, and overlay them over the current folder icon (using the KIcon class, which has built-in support emblems). Store these custom folder icons in the user's home directory someplace.
2. Dynamically create/modify .directory files designed to apply these custom icons to dropbox folders.
Some finessing of this idea might be necessary to handle different-sized icons (for the different zooms levels available in Dolphin).
-> Different Icon sizes shouldn't be a problem if we use SVG-Emblems(?)