From: Alexander Lohnau Date: Mon, 16 Sep 2024 19:31:22 +0000 (+0200) Subject: Dolphinpart: Define KPart capabilities instead of deprecated ServiceTypes X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/36dc660a4699df0179b8fa5cb7473e95df0545d1 Dolphinpart: Define KPart capabilities instead of deprecated ServiceTypes By now, Konqueror uses the new mechanism introduced in https://invent.kde.org/frameworks/kparts/-/merge_requests/86. Thus, we can avoid using the deprecated SeviceTypes which are also removed from the official KPluginMetaData API. --- diff --git a/src/dolphinpart.json.in b/src/dolphinpart.json.in index d0cf5174a..e47e14e2a 100644 --- a/src/dolphinpart.json.in +++ b/src/dolphinpart.json.in @@ -64,14 +64,16 @@ "Name[x-test]": "xxDolphin Viewxx", "Name[zh_CN]": "Dolphin 视图", "Name[zh_TW]": "Dolphin 檢視", - "ServiceTypes": [ - "KParts/ReadOnlyPart", - "Browser/View" - ], "Version": "@DOLPHIN_VERSION@" }, "MimeType": "inode/directory;", "X-KDE-BrowserView-Built-Into": "konqueror", "X-KDE-BrowserView-HideFromMenus": true, - "X-Konqueror-Actions-File": "@KDE_INSTALL_FULL_DATADIR@/dolphin/dolphinpartactions.desktop" + "X-Konqueror-Actions-File": "@KDE_INSTALL_FULL_DATADIR@/dolphin/dolphinpartactions.desktop", + "KParts": { + "Capabilities": [ + "ReadOnly", + "BrowserView" + ] + } }