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 <notm...@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@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to