[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-24 9:14:03
Message-ID: cba868840907240214l546670f0n58626565a9553fa4 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


After removing the line of "X-KDE-ParentApp=", it appears in the dialog.

2009/7/23 Dong Tiger <idlecat511@gmail.com>

> Below is the generated desktop file for one Google gadget.
>
> [Desktop Entry]
> Comment=Got Weather? Displays weather conditions inside a 3D glass sphere.
> Encoding=UTF-8
> Icon=plasma_applet_ggl_2/icon.png
> Keywords=
> Name=Weather Globe
> Type=Service
> X-KDE-ParentApp=
> X-KDE-PluginInfo-Author=Google
> X-KDE-PluginInfo-Category=
> X-KDE-PluginInfo-Email=
> X-KDE-PluginInfo-EnabledByDefault=true
> X-KDE-PluginInfo-License=
> X-KDE-PluginInfo-Name=ggl_2
> X-KDE-PluginInfo-Version=
> X-KDE-PluginInfo-Website=
> X-KDE-ServiceTypes=Plasma/Applet,Plasma/Containment
> X-Plasma-API=googlegadgets
>
>
> 2009/7/23 Aaron J. Seigo <aseigo@kde.org>
>
>> On Wednesday 22 July 2009, Dong Tiger wrote:
>> > 2009/7/23 Aaron J. Seigo <aseigo@kde.org>
>> >
>> > > On Wednesday 22 July 2009, Dong Tiger wrote:
>> > > > 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.
>> > >
>> > > * is the pluginName() set in the Plasma::PackageMetadata object passed
>> > > into Plasma::Package::registerPackage?
>> >
>> > Yes
>>
>> is the .desktop file that is created properly formed?
>>
>> --
>> Aaron J. Seigo
>> humru othro a kohnu se
>> GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
>>
>> KDE core developer sponsored by Qt Software
>>
>> _______________________________________________
>> Plasma-devel mailing list
>> Plasma-devel@kde.org
>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>
>>
>

[Attachment #5 (text/html)]

After removing the line of &quot;X-KDE-ParentApp=&quot;, it appears in the \
dialog.<br><br><div class="gmail_quote">2009/7/23 Dong Tiger <span dir="ltr">&lt;<a \
href="mailto:idlecat511@gmail.com">idlecat511@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;">Below is the generated desktop file \
for one Google gadget.<br><br>[Desktop Entry]<br>Comment=Got Weather? Displays \
weather conditions inside a 3D glass sphere.<br> \
Encoding=UTF-8<br>Icon=plasma_applet_ggl_2/icon.png<br>Keywords=<br> Name=Weather \
Globe<br>Type=Service<br>X-KDE-ParentApp=<br>X-KDE-PluginInfo-Author=Google<br>X-KDE-P \
luginInfo-Category=<br>X-KDE-PluginInfo-Email=<br>X-KDE-PluginInfo-EnabledByDefault=true<br>X-KDE-PluginInfo-License=<br>
 X-KDE-PluginInfo-Name=ggl_2<br>
X-KDE-PluginInfo-Version=<br>X-KDE-PluginInfo-Website=<br>X-KDE-ServiceTypes=Plasma/Applet,Plasma/Containment<br>X-Plasma-API=googlegadgets<br><br><br><div \
class="gmail_quote"><div><div></div><div class="h5">2009/7/23 Aaron J. Seigo <span \
dir="ltr">&lt;<a href="mailto:aseigo@kde.org" \
target="_blank">aseigo@kde.org</a>&gt;</span><br>

</div></div><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"><div>On Wednesday 22 July 2009, Dong Tiger wrote:<br>

&gt; 2009/7/23 Aaron J. Seigo &lt;<a href="mailto:aseigo@kde.org" \
target="_blank">aseigo@kde.org</a>&gt;<br> &gt;<br>
&gt; &gt; On Wednesday 22 July 2009, Dong Tiger wrote:<br>
&gt; &gt; &gt; I found I can&#39;t add Google Gadget into plasma any more.  Google \
Gadget<br> &gt; &gt; &gt; in plasma uses Plasma::Package::registerPackage to add \
gadgets into<br> &gt; &gt; &gt; plasma.<br>
&gt; &gt;<br>
&gt; &gt; It<br>
&gt; &gt;<br>
&gt; &gt; &gt; used to work.<br>
&gt; &gt;<br>
&gt; &gt; * is the pluginName() set in the Plasma::PackageMetadata object passed<br>
&gt; &gt; into Plasma::Package::registerPackage?<br>
&gt;<br>
&gt; Yes<br>
<br>
</div>is the .desktop file that is created properly formed?<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div>Aaron J. Seigo<br>
humru othro a kohnu se<br>
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43<br>
<br>
KDE core developer sponsored by Qt Software<br>
</div></div><br></div></div><div \
class="im">_______________________________________________<br> Plasma-devel mailing \
list<br> <a href="mailto:Plasma-devel@kde.org" \
target="_blank">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> \
<br></div></blockquote></div><br> </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