Plasma/PopupApplet and Plasma::PackageStructure

Aaron J. Seigo aseigo at kde.org
Sat Feb 27 17:52:17 CET 2010


On February 27, 2010, Yuen Hoe Lim wrote:
> if (is Plasma/PopupApplet)
>   PackageStructure::load("Plasma/Applet");

as Richard notes, all plasmoids (scripted or not, popup or not) are 
Plasma/Applet's. what code is calling PackageStructure::load with 
"Plasma/Popup"? note that if ServiceTypes does not include Plasma/Applet as 
well as Plasma/PopupApplet that it will not load at all.

so while it probably wouldn't hurt to put in the branch you suggest into 
PackageStructure::load(), it would be good to look at the code that is calling 
this in the first place and see if it isn't doing something incorrect first.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


More information about the Plasma-devel mailing list