[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Plasma/PopupApplet and Plasma::PackageStructure
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2010-02-27 16:52:17
Message-ID: 201002270852.17771.aseigo () kde ! org
[Download RAW message or body]

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
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic