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