Commit f5b426a7 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[activities/fileitemaction] Port plugin metadata to JSON

Summary: Do things the modern way. Also install in correct subfolder

Reviewers: #frameworks, elvisangelaccio

Reviewed By: elvisangelaccio

Subscribers: kde-frameworks-devel, kfm-devel

Tags: #dolphin, #frameworks

Maniphest Tasks: T12250

Differential Revision: https://phabricator.kde.org/D25527
parent a82f8a21
......@@ -19,12 +19,6 @@ add_library (
${kactivitymanagerd_fileitem_linking_plugin_SRCS}
)
kcoreaddons_desktop_to_json (
kactivitymanagerd_fileitem_linking_plugin
kactivitymanagerd_fileitem_linking_plugin.desktop
SERVICE_TYPES kfileitemactionplugin.desktop
)
target_link_libraries (
kactivitymanagerd_fileitem_linking_plugin
Qt5::Core
......@@ -36,9 +30,5 @@ target_link_libraries (
install (
TARGETS kactivitymanagerd_fileitem_linking_plugin
DESTINATION ${KDE_INSTALL_PLUGINDIR}
)
install (
FILES kactivitymanagerd_fileitem_linking_plugin.desktop
DESTINATION ${KDE_INSTALL_KSERVICES5DIR}
DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kfileitemaction
)
[Desktop Entry]
Type=Service
Name=Link Files to Activities
Name[ca]=Enllaçat de fitxers a activitats
Name[ca@valencia]=Enllaçat de fitxers a activitats
Name[cs]=Připojit soubory k aktivitám
Name[da]=Link filer til aktiviteter
Name[de]=Dateien mit Aktivitäten verknüpfen
Name[el]=Σύνδεση αρχείων με δραστηριότητες
Name[en_GB]=Link Files to Activities
Name[es]=Enlazar archivos a actividades
Name[et]=Failide linkimine tegevustega
Name[eu]=Estekatu fitxategiak jardueretara
Name[fi]=Linkkitiedostot aktiviteetteihin
Name[fr]=Associer les fichiers à des activités
Name[gl]=Ligar ficheiros con actividades
Name[id]=File-file Tautan untuk Activities
Name[it]=Collegamento file alle attività
Name[ko]=파일과 활동 연결
Name[lt]=Susieti failus su veiklomis
Name[nl]=Bestanden koppelen aan activiteiten
Name[nn]=Lenkja filer til aktivitetar
Name[pl]=Dowiązuj pliki do aktywności
Name[pt]=Associação de Ficheiros a Actividades
Name[pt_BR]=Link de arquivos para atividades
Name[sk]=Prepojiť súbory s Aktivitami
Name[sv]=Länkar filer till aktiviteter
Name[tg]=Пайваст кардани файлҳо ба фаъолиятҳо
Name[uk]=Пов'язування файлів із просторами дій
Name[x-test]=xxLink Files to Activitiesxx
Name[zh_CN]=将文件关联到活动
Name[zh_TW]=將檔案連結至活動
Icon=activities
X-KDE-Library=kactivitymanagerd_fileitem_linking_plugin
ServiceTypes=KFileItemAction/Plugin
MimeType=application/octet-stream;inode/directory;
{
"KPlugin": {
"Icon": "activities",
"MimeTypes": [
"application/octet-stream",
"inode/directory"
],
"Name": "Link Files to Activities",
"ServiceTypes": [
"KFileItemAction/Plugin"
]
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment