Prefer to find oktetapart by desktop file, not binary name

Authored by kossebau on Feb 9 2019, 5:36 PM.

Description

Prefer to find oktetapart by desktop file, not binary name

Summary:
Okteta >= 0.26 installs the oktetapart binary in the kf5/parts subdir
of the plugins, so the old check will not find it.
But that version also installs a desktop file again, so prefer to use that.

Test Plan:
Okteta KParts plugin is found also with devel version of what will be 0.26
in some weeks.

Reviewers: Krusader, nmel

Reviewed By: Krusader, nmel

Subscribers: nmel, yurchor

Differential Revision: https://phabricator.kde.org/D18881

Details

Committed
kossebauFeb 18 2019, 1:43 PM
Reviewer
Krusader
Differential Revision
D18881: Prefer to find oktetapart by desktop file, not binary name
Parents
R167:ca56c4ae923b: Register krusader as handler of inode/directory
Branches
Unknown
Tags
Unknown