Ignore NoDisplay=true .desktop entries when matching by Name.

Authored by hein on Mar 3 2017, 6:09 PM.

Description

Ignore NoDisplay=true .desktop entries when matching by Name.

Summary:
We currently match Krita by Name. It's classClass is "krita",
but its DesktopEntryName is org.kde.krita.desktop. However,
Krita also installs numerous additional .desktop entries to
associate more file types by itself, all of which match by
name, and the first one in the list isn't the right one. All
of those extra .desktop files are NoDisplay=true however, so
we can filter them out, which brings the match list down to
the one and only .desktop file we care for.

Reviewers: Plasma, broulik, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

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

Details