From 08418849bf30416d5d7083d2c69a36ab261d8cbb Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 13 Apr 2017 08:13:41 -0400 Subject: Commit some small changes I still had on my main workstation: 1) Better support for the "inherited" property in icon themes 2) Some other random WM stuff --- src-qt5/core/libLumina/LuminaThemes.cpp | 3 ++- src-qt5/core/libLumina/LuminaXDG.cpp | 21 +++++++++++++++++++++ src-qt5/core/libLumina/LuminaXDG.h | 1 + src-qt5/core/libLumina/RootSubWindow.cpp | 2 +- 4 files changed, 25 insertions(+), 2 deletions(-) (limited to 'src-qt5/core/libLumina') diff --git a/src-qt5/core/libLumina/LuminaThemes.cpp b/src-qt5/core/libLumina/LuminaThemes.cpp index 70cd221d..85d43925 100644 --- a/src-qt5/core/libLumina/LuminaThemes.cpp +++ b/src-qt5/core/libLumina/LuminaThemes.cpp @@ -83,7 +83,8 @@ QStringList LTHEME::availableSystemIcons(){ //returns: [name] for each item tmpthemes = dir.entryList(QDir::Dirs | QDir::NoDotAndDotDot, QDir::Name); for(int j=0; j Theme2 -> Theme3 -> Fallback) + //fall << LOS::AppPrefix()+"share/pixmaps"; //always use this as well as a final fallback QDir::setSearchPaths("icontheme", theme); QDir::setSearchPaths("oxygen", oxy); @@ -880,6 +884,23 @@ QStringList LXDG::getChildIconDirs(QString parent){ return out; } +QStringList LXDG::getIconThemeDepChain(QString theme, QStringList paths){ + QStringList results; + for(int i=0; i, QList)), this, SLOT(PropertiesChanged(QList, QList))); + connect(WIN, SIGNAL(PropertiesChanged(QList, QList)), this, SLOT(propertiesChanged(QList, QList))); } RootSubWindow::~RootSubWindow(){ -- cgit