lp://staging/~3v1n0/appmenu-qt5/icons-user-cache-on-snap
- Get this branch:
- bzr branch lp://staging/~3v1n0/appmenu-qt5/icons-user-cache-on-snap
Branch merges
- Lukáš Tinkl (community): Approve
-
Diff: 138 lines (+50/-13)4 files modifiedsrc/appmenuplatformmenubar.cpp (+14/-3)
src/appmenuplatformsystemtrayicon.cpp (+1/-1)
src/iconcache.cpp (+34/-7)
src/iconcache.h (+1/-2)
Related bugs
Related blueprints
Branch information
Recent revisions
- 47. By Marco Trevisan (Treviño)
-
IconCache: get the proper theme path based on the fact we're using a themed icon or not
If an app uses QIcon::fromTheme then we only have the icon name of it, and thus
we need to return a valid icon theme path. Now, it's not possible to return the
whole list of dirs, so we just fallback to the home icons folder, so that users
might in case add icons there.In $SNAP world, when using desktop-launcher ~/.local/
share/icons also contains
all the themes in from /usr/share/icons and potentially more (depending on the
wrapper used for launching) so, we can be quite flexible with it. - 46. By Marco Trevisan (Treviño)
-
IconCache: when running in a snap, save icons in $XDG_CACHE_HOME
Or in the user cache, but still in an indicator readable location
- 44. By Marco Trevisan (Treviño)
-
AppMenuPlatform
SystemTrayIcon: reset app usertime on activation to ensure compiz will raise it
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/appmenu-qt5