[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&#39;t show up \
in the &quot;Add Widget...&quot; dialog.<br><br><div class="gmail_quote"> 2009/7/22 \
Marco Martin <span dir="ltr">&lt;<a \
href="mailto:notmart@gmail.com">notmart@gmail.com</a>&gt;</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> &gt; Hi,<br>
&gt;<br>
&gt; I found I can&#39;t add Google Gadget into plasma any more.  Google Gadget \
in<br> &gt; plasma uses Plasma::Package::registerPackage to add gadgets into plasma. \
It<br> &gt; used to work.<br>
&gt;<br>
&gt; I saw there is another method installPackage in Plasma::Package. Should it<br>
&gt; be used instead of registerPackage? One more thing I am confused is I added<br>
&gt; breakpoints for both methods but adding a plasma widget doesn&#39;t trigger<br>
&gt; either.<br>
&gt;<br>
&gt; Any one can clarify me on this? Thanks in advance!<br>
<br>
</div></div>now i&#39;m not really sure about the package handling classes, so i \
can&#39;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>
&gt; --<br>
&gt; 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