diff options
author | Ken Moore <moorekou@gmail.com> | 2016-06-02 15:26:54 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-06-02 15:26:54 -0400 |
commit | ffcb6592bfc9a47e9c56014f955f6deb1c76db85 (patch) | |
tree | f1eedc789706b32a3805ef15e44e7c38a9cda706 /src-qt5/core/libLumina/LuminaUtils.h | |
parent | Rename/move the new RSS reader plugin to "rssreader" in the backend/source tr... (diff) | |
download | lumina-ffcb6592bfc9a47e9c56014f955f6deb1c76db85.tar.gz lumina-ffcb6592bfc9a47e9c56014f955f6deb1c76db85.tar.bz2 lumina-ffcb6592bfc9a47e9c56014f955f6deb1c76db85.zip |
Fix a bunch of little things with the desktop:
1) Reset which dirs are watched for apps to be installed into every time the watcher updates (fixes the detection of KDE apps getting installed/removed)
2) Add a new LuminaUtils function for converting a .desktop or binary name into a full path (searching all the various system dirs until it finds the file)
3) Convert the luminaDesktop.conf parser to allow relative paths/filenames for favorite/default apps
4) Update the default luminaDesktop.conf file quite a bit so there are app actually setup out of box.
5) Update the luminaDesktop.conf parser to properly set mimetypes as needed.
6) Fix the install location of the lumina-fm icon.
Diffstat (limited to 'src-qt5/core/libLumina/LuminaUtils.h')
-rw-r--r-- | src-qt5/core/libLumina/LuminaUtils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaUtils.h b/src-qt5/core/libLumina/LuminaUtils.h index 32109244..e07363ca 100644 --- a/src-qt5/core/libLumina/LuminaUtils.h +++ b/src-qt5/core/libLumina/LuminaUtils.h @@ -54,8 +54,9 @@ public: static QStringList listSubDirectories(QString dir, bool recursive = true); //Convert an input file/dir path to an absolute file path - static QString PathToAbsolute(QString path); - + static QString PathToAbsolute(QString path); //This is primarily for CLI usage (relative paths) + static QString AppToAbsolute(QString path); //This is for looking up a binary/ *.desktop path + //Get the list of all file extensions which Qt can read (lowercase) static QStringList imageExtensions(bool wildcards = false); |