From 95974ae9e6a77410b237b1e5725ee14e935c6358 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sat, 24 Mar 2018 00:44:26 +0100 Subject: [PATCH] Consistently use X-KDE-ServiceTypes instead of ServiceTypes --- examples/applets/nowplaying/metadata.desktop | 2 +- examples/applets/samegame/metadata.desktop | 4 ++-- examples/applets/widgetgallery/metadata.desktop | 4 ++-- .../plasma-containmentactions-test.desktop | 5 +++-- templates/cpp-plasmoid/src/package/metadata.desktop | 4 ++-- .../qml-plasmoid-with-qml-extension/package/metadata.desktop | 2 +- templates/qml-plasmoid/package/metadata.desktop | 2 +- 7 files changed, 12 insertions(+), 11 deletions(-) diff --git a/examples/applets/nowplaying/metadata.desktop b/examples/applets/nowplaying/metadata.desktop index 3c9536b80..19e89fa09 100644 --- a/examples/applets/nowplaying/metadata.desktop +++ b/examples/applets/nowplaying/metadata.desktop @@ -81,8 +81,8 @@ Comment[x-test]=xxA proof of concept media player controller qmlxx Comment[zh_CN]=媒体播放器控制器 QML 版本的概念验证 Comment[zh_TW]=概念媒體播放控制器 qml 的證明 Icon=applications-multimedia -ServiceTypes=Plasma/Applet Type=Service +X-KDE-ServiceTypes=Plasma/Applet X-KDE-PluginInfo-Author=Marco Martin X-KDE-PluginInfo-Category=Examples X-KDE-PluginInfo-Depends= diff --git a/examples/applets/samegame/metadata.desktop b/examples/applets/samegame/metadata.desktop index 31a3ef577..7ac191907 100644 --- a/examples/applets/samegame/metadata.desktop +++ b/examples/applets/samegame/metadata.desktop @@ -79,10 +79,10 @@ Comment[uk]=Плазмоїд-демонстрація тієї самої гри Comment[x-test]=xxThe Same game QML Qt demo converted as plasmoidxx Comment[zh_CN]=相同游戏 QML 的 Qt demo 转化成的小部件 Comment[zh_TW]=Same game QML Qt 展示轉換為元件 +Icon=applications-games Type=Service -ServiceTypes=Plasma/Applet -Icon=applications-games +X-KDE-ServiceTypes=Plasma/Applet X-Plasma-API=declarativeappletscript X-Plasma-MainScript=qml/samegame.qml X-KDE-PluginInfo-Author=Marco Martin diff --git a/examples/applets/widgetgallery/metadata.desktop b/examples/applets/widgetgallery/metadata.desktop index ac46d9a07..e93e3ac7e 100644 --- a/examples/applets/widgetgallery/metadata.desktop +++ b/examples/applets/widgetgallery/metadata.desktop @@ -80,9 +80,9 @@ Comment[uk]=Галерея віджетів, створених за допом Comment[x-test]=xxgallery of widgets done with Plasma QtComponentsxx Comment[zh_CN]=Plasma Qt 部件实现的部件展示 Comment[zh_TW]=Plasma QtComponents 的元件集 -Type=Service -ServiceTypes=Plasma/Applet Icon=preferences-desktop-theme +Type=Service +X-KDE-ServiceTypes=Plasma/Applet X-Plasma-API=declarativeappletscript X-Plasma-MainScript=ui/main.qml X-KDE-PluginInfo-Author=Marco MArtin diff --git a/examples/testcontainmentactionsplugin/plasma-containmentactions-test.desktop b/examples/testcontainmentactionsplugin/plasma-containmentactions-test.desktop index 2f842ffa4..8b69e1110 100644 --- a/examples/testcontainmentactionsplugin/plasma-containmentactions-test.desktop +++ b/examples/testcontainmentactionsplugin/plasma-containmentactions-test.desktop @@ -89,9 +89,10 @@ Comment[uk]=Додаток для тестування Comment[x-test]=xxA dummy plugin for testingxx Comment[zh_CN]=测试用插件 Comment[zh_TW]=測試用外掛程式 -Type=Service Icon=preferences-desktop-color -ServiceTypes=Plasma/ContainmentActions + +Type=Service +X-KDE-ServiceTypes=Plasma/ContainmentActions X-KDE-Library=plasma_containmentactions_test X-KDE-PluginInfo-Author=Chani diff --git a/templates/cpp-plasmoid/src/package/metadata.desktop b/templates/cpp-plasmoid/src/package/metadata.desktop index 353c5b1b8..2e4dab9e1 100644 --- a/templates/cpp-plasmoid/src/package/metadata.desktop +++ b/templates/cpp-plasmoid/src/package/metadata.desktop @@ -80,9 +80,9 @@ Comment[zh_TW]=以數個字描述您的應用程式的用途 Icon=applications-system Type=Service -ServiceTypes=Plasma/Applet - +X-KDE-ServiceTypes=Plasma/Applet X-KDE-Library=plasma_applet_%{APPNAMELC} + X-KDE-PluginInfo-Author=%{AUTHOR} X-KDE-PluginInfo-Email=%{EMAIL} X-KDE-PluginInfo-Name=%{APPNAMELC} diff --git a/templates/qml-plasmoid-with-qml-extension/package/metadata.desktop b/templates/qml-plasmoid-with-qml-extension/package/metadata.desktop index 744453b62..bad2201de 100644 --- a/templates/qml-plasmoid-with-qml-extension/package/metadata.desktop +++ b/templates/qml-plasmoid-with-qml-extension/package/metadata.desktop @@ -79,7 +79,7 @@ Comment[zh_TW]=以數個字描述您的應用程式的用途 Icon=applications-system Type=Service -ServiceTypes=Plasma/Applet +X-KDE-ServiceTypes=Plasma/Applet X-KDE-PluginInfo-Author=%{AUTHOR} X-KDE-PluginInfo-Email=%{EMAIL} diff --git a/templates/qml-plasmoid/package/metadata.desktop b/templates/qml-plasmoid/package/metadata.desktop index 744453b62..bad2201de 100644 --- a/templates/qml-plasmoid/package/metadata.desktop +++ b/templates/qml-plasmoid/package/metadata.desktop @@ -79,7 +79,7 @@ Comment[zh_TW]=以數個字描述您的應用程式的用途 Icon=applications-system Type=Service -ServiceTypes=Plasma/Applet +X-KDE-ServiceTypes=Plasma/Applet X-KDE-PluginInfo-Author=%{AUTHOR} X-KDE-PluginInfo-Email=%{EMAIL}