Add Plasma/Generic servicetype
This irons out an asymmetry: Plasma/Generic was never read from KService, as the service type wasn't registered, we just looked it up in the right directory. This patch allows us to use KService to list packages, the installPackage cmake macro installs the service files for us already. Apps that look up the package in the "right path" still work.
This commit is contained in:
parent
a515edf387
commit
a8ac6ab694
@ -220,6 +220,7 @@ install(FILES
|
|||||||
data/servicetypes/plasma-containment.desktop
|
data/servicetypes/plasma-containment.desktop
|
||||||
data/servicetypes/plasma-containmentactions.desktop
|
data/servicetypes/plasma-containmentactions.desktop
|
||||||
data/servicetypes/plasma-dataengine.desktop
|
data/servicetypes/plasma-dataengine.desktop
|
||||||
|
data/servicetypes/plasma-generic.desktop
|
||||||
data/servicetypes/plasma-packagestructure.desktop
|
data/servicetypes/plasma-packagestructure.desktop
|
||||||
data/servicetypes/plasma-runner.desktop
|
data/servicetypes/plasma-runner.desktop
|
||||||
data/servicetypes/plasma-scriptengine.desktop
|
data/servicetypes/plasma-scriptengine.desktop
|
||||||
|
6
src/plasma/data/servicetypes/plasma-generic.desktop
Normal file
6
src/plasma/data/servicetypes/plasma-generic.desktop
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=ServiceType
|
||||||
|
X-KDE-ServiceType=Plasma/Generic
|
||||||
|
Name=Plasma Package
|
||||||
|
Comment=Generic Plasma Package
|
||||||
|
|
Loading…
Reference in New Issue
Block a user