sytem tray jobs/notifications icon

Rob Scheepmaker r.scheepmaker at student.utwente.nl
Wed May 6 12:14:41 CEST 2009


On Wednesday 06 May 2009 10:35:32 Aaron J. Seigo wrote:
> * when an extender has groups, attachedItems() will return those groups as
> items. in turn, that makes the "don't show the popup if we have nothing in
> it" test in PopupAppletPrivate::internalTogglePopup fail because there's
> always something there, even though the groups are no visible. i think we
> either need to keep groups out of attachedItems() (what would that break if
> anything?) or else have a "bool isEmpty() const" method that takes into
> consideration things like empty groups.

I also do some is empty checks in Extender, and I had added a private isEmpty 
function to Extender that does just that. PopupApplet is already homies with 
Extender IIRC, so that function can be used there.



More information about the Plasma-devel mailing list