~ci-train-bot/appmenu-qt5/appmenu-qt5-ubuntu-zesty-2208

  • Committer: Bileto Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2016-11-24 18:27:45 UTC
  • mfrom: (43.2.5 appmenu-qt5)
  • Revision ID: ci-train-bot@canonical.com-20161124182745-3d5dbnf4g3ok592y
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
older, 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.

Also when running in a snap, save icons in $XDG_CACHE_HOME or in the user
cache, but still in an indicator readable location (LP: #1600136)

Approved by: Lukáš Tinkl
Filename Latest Rev Last Changed Committer Comment Size
..
.bzr-builddeb 3 10 years ago Łukasz 'sil2100' Zemczak Enable Gnome and KDE theme look and feel when usin Diff
data 8 10 years ago Łukasz 'sil2100' Zemczak Add profile.d files that would export the QT_QPA_P Diff
debian 3 10 years ago Łukasz 'sil2100' Zemczak Enable Gnome and KDE theme look and feel when usin Diff
src 1 10 years ago Łukasz 'sil2100' Zemczak Initial version Diff
.qmake.conf 1 10 years ago Łukasz 'sil2100' Zemczak Initial version Empty Diff Download File
appmenu.pro 8 10 years ago Łukasz 'sil2100' Zemczak Add profile.d files that would export the QT_QPA_P 153 bytes Diff Download File
COPYING 4 10 years ago Łukasz 'sil2100' Zemczak Fix packaging and package building, tweak dependen 7.4 KB Diff Download File
README 12 10 years ago Łukasz 'sil2100' Zemczak Tweak the descriptions and README a bit 667 bytes Diff Download File