diff options
author | Ken Moore <ken@pcbsd.org> | 2015-03-11 23:40:32 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-03-11 23:40:32 -0400 |
commit | 950c4ebc4343452dc6f99a9c74d71e4dba9d7eaa (patch) | |
tree | 9f88083114df480a5cd7b880752245cf3782cf73 /libLumina/LuminaXDG.cpp | |
parent | Convert the windowImage routine to XCB from XLib, and set the desktop (system... (diff) | |
download | lumina-950c4ebc4343452dc6f99a9c74d71e4dba9d7eaa.tar.gz lumina-950c4ebc4343452dc6f99a9c74d71e4dba9d7eaa.tar.bz2 lumina-950c4ebc4343452dc6f99a9c74d71e4dba9d7eaa.zip |
Just a bit of cleanup in libLumina and adjust the deskopview plugin a bit for non-valid *.desktop files.
Diffstat (limited to 'libLumina/LuminaXDG.cpp')
-rw-r--r-- | libLumina/LuminaXDG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libLumina/LuminaXDG.cpp b/libLumina/LuminaXDG.cpp index 48abb40a..1756c03b 100644 --- a/libLumina/LuminaXDG.cpp +++ b/libLumina/LuminaXDG.cpp @@ -20,7 +20,7 @@ XDGDesktop LXDG::loadDesktopFile(QString filePath, bool& ok){ DF.isHidden=false; DF.useTerminal=false; DF.startupNotify=false; - DF.type = XDGDesktop::BAD; + DF.type = XDGDesktop::APP; DF.filePath = filePath; DF.exec = DF.tryexec = ""; // just to make sure this is initialized //Check input file path validity @@ -83,7 +83,7 @@ XDGDesktop LXDG::loadDesktopFile(QString filePath, bool& ok){ if(val.toLower()=="application"){ DF.type = XDGDesktop::APP; } else if(val.toLower()=="link"){ DF.type = XDGDesktop::LINK; } else if(val.toLower()=="dir"){ DF.type = XDGDesktop::DIR; } - else{ DF.type = XDGDesktop::BAD; } + else{ DF.type = XDGDesktop::BAD; } //Unknown type } } //end reading file file.close(); |