Load also json-only kfileitemaction plugins

Review Request #128746 - Created Aug. 24, 2016 and submitted

Information
Elvis Angelaccio
kde-baseapps
master
Reviewers
kde-baseapps
dfaure

This patch adapts the code used in dolphin (see 1 and 2) to load kfileitemaction plugins with json metadata but no .desktop file.

There are actually a couple of bugs in the dolphin side that I already fixed here (dolphin returns if KMimeTypeTrader doesn't find anything; dolphin doesn't check if a json-only plugin is added twice) - I will fix them in Dolphin with separate patches.

ark's plugins (Extract/Compress menus) now works. They can also be enabled/disabled in Settings -> Configure Konqueror -> File Management -> Services (though this is handled by dolphin).

Elvis Angelaccio
David Faure
Elvis Angelaccio
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 276f3d80150773c15302bb587141f1dc08c0821d by Elvis Angelaccio to branch master.
Loading...