[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Plasma::Package::registerPackage stops working?
From: Dong Tiger <idlecat511 () gmail ! com>
Date: 2009-07-22 10:05:56
Message-ID: cba868840907220305g7ff047ddm923fa649b1655c2e () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@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
>
[Attachment #5 (text/html)]
Now I remember installPackage is used to install plasmoid from local file. <br><br>I \
can use plasmodviewer to run installed google gadgets but they just don't show up \
in the "Add Widget..." dialog.<br><br><div class="gmail_quote"> 2009/7/22 \
Marco Martin <span dir="ltr"><<a \
href="mailto:notmart@gmail.com">notmart@gmail.com</a>></span><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> <div><div></div><div class="h5">On Wednesday 22 July \
2009, Dong Tiger wrote:<br> > Hi,<br>
><br>
> I found I can't add Google Gadget into plasma any more. Google Gadget \
in<br> > plasma uses Plasma::Package::registerPackage to add gadgets into plasma. \
It<br> > used to work.<br>
><br>
> I saw there is another method installPackage in Plasma::Package. Should it<br>
> be used instead of registerPackage? One more thing I am confused is I added<br>
> breakpoints for both methods but adding a plasma widget doesn't trigger<br>
> either.<br>
><br>
> Any one can clarify me on this? Thanks in advance!<br>
<br>
</div></div>now i'm not really sure about the package handling classes, so i \
can't say<br> exactly why two really similar registerpackage and installpackage \
exist.<br> but installpackage is used by openwidgetassistant.cpp in te applet browser \
so<br> that one should work?<br>
<br>
> --<br>
> Tiger<br>
<font color="#888888"><br>
<br>
--<br>
Marco Martin<br>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
</font></blockquote></div><br>
_______________________________________________
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