From 7a714cdb106866e3f239d3f5776d23f4d35827ea Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 4 Mar 2015 07:58:04 -0500 Subject: 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. --- libLumina/LuminaXDG.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libLumina/LuminaXDG.cpp') 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); } -- cgit