aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaXDG.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-03-04 07:58:04 -0500
committerKen Moore <ken@pcbsd.org>2015-03-04 07:58:04 -0500
commit7a714cdb106866e3f239d3f5776d23f4d35827ea (patch)
treee5b546676c19be9cf247ca0afe85ff1289b1bd0a /libLumina/LuminaXDG.cpp
parentMake sure that Fluxbox get prompted to reload configs as well after the Lumin... (diff)
downloadlumina-7a714cdb106866e3f239d3f5776d23f4d35827ea.tar.gz
lumina-7a714cdb106866e3f239d3f5776d23f4d35827ea.tar.bz2
lumina-7a714cdb106866e3f239d3f5776d23f4d35827ea.zip
Oops, apparently I forgot the line which copies a *.desktop "Path=" value into the data structure. lumina-open was already set to use the path properly if it exists, so no other changes to use this value necessary.
Diffstat (limited to 'libLumina/LuminaXDG.cpp')
-rw-r--r--libLumina/LuminaXDG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libLumina/LuminaXDG.cpp b/libLumina/LuminaXDG.cpp
index 27b3b637..48abb40a 100644
--- a/libLumina/LuminaXDG.cpp
+++ b/libLumina/LuminaXDG.cpp
@@ -63,6 +63,7 @@ XDGDesktop LXDG::loadDesktopFile(QString filePath, bool& ok){
}
else if( (var=="TryExec") && (DF.tryexec.isEmpty()) ) { DF.tryexec = val; }
else if( (var=="Exec") && (DF.exec.isEmpty() ) ) { DF.exec = val; } // only take the first Exec command in the file
+ else if( (var=="Path") && (DF.path.isEmpty() ) ){ DF.path = val; }
else if(var=="NoDisplay" && !DF.isHidden){ DF.isHidden = (val.toLower()=="true"); }
else if(var=="Hidden" && !DF.isHidden){ DF.isHidden = (val.toLower()=="true"); }
else if(var=="Categories"){ DF.catList = val.split(";",QString::SkipEmptyParts); }
bgstack15