Summary:
PluginLoader has some additional checks for some obscure config options,
such as ExcludeCategories in plasmashellrc.
By doing the applet listing manually widget explorer skipped that.
Test Plan: Checked widget explorer still listed everything
Reviewers: #plasma, mart
Reviewed By: mart
Subscribers: mart, apol, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2877
This is better/simpler code, but doesn't fix that Plasma::Applet::loadPlasmoid()
instanciates applets but doesn't run scripts - which is difficult to achieve
because the scripting environment is designed around knowledge of a containment.
Perhaps scripts execution should be moved from ShellCorona to Applet and happen
the first time an applet is parented to a containment.
CCMAIL:notmart@gmail.com
It is not meant to be shown in widget explorer. It is not being shown
when english language is used because
i18n("Containments") == "Containments"
but in other languages for example x-test
i18n("Containments") == "xxContainmentsxx" and hence this condition
doesn't pass and it shows up in UI