diff options
| author | Alexander Lohnau <[email protected]> | 2024-09-16 21:31:22 +0200 |
|---|---|---|
| committer | Alexander Lohnau <[email protected]> | 2024-09-26 06:34:43 +0000 |
| commit | 36dc660a4699df0179b8fa5cb7473e95df0545d1 (patch) | |
| tree | cf78a7ffd7f0475844cdc35a90e23d123135e7c4 /src | |
| parent | 0d741bdc817032303b0b600adf9113f5750cecd6 (diff) | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinpart.json.in | 12 |
1 files changed, 7 insertions, 5 deletions
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" + ] + } } |
