Plasma::Package::registerPackage stops working?

Dong Tiger idlecat511 at gmail.com
Wed Jul 22 12:05:56 CEST 2009


Now I remember installPackage is used to install plasmoid from local file.

I can use plasmodviewer to run installed google gadgets but they just don't
show up in the "Add Widget..." dialog.

2009/7/22 Marco Martin <notmart at gmail.com>

> On Wednesday 22 July 2009, Dong Tiger wrote:
> > Hi,
> >
> > I found I can't add Google Gadget into plasma any more.  Google Gadget in
> > plasma uses Plasma::Package::registerPackage to add gadgets into plasma.
> It
> > used to work.
> >
> > I saw there is another method installPackage in Plasma::Package. Should
> it
> > be used instead of registerPackage? One more thing I am confused is I
> added
> > breakpoints for both methods but adding a plasma widget doesn't trigger
> > either.
> >
> > Any one can clarify me on this? Thanks in advance!
>
> now i'm not really sure about the package handling classes, so i can't say
> exactly why two really similar registerpackage and installpackage exist.
> but installpackage is used by openwidgetassistant.cpp in te applet browser
> so
> that one should work?
>
> > --
> > Tiger
>
>
> --
> Marco Martin
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20090722/0ccbbe3a/attachment.htm 


More information about the Plasma-devel mailing list