Plasma::Package::registerPackage stops working?

Dong Tiger idlecat511 at gmail.com
Fri Jul 24 11:14:03 CEST 2009


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

2009/7/23 Dong Tiger <idlecat511 at 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 at kde.org>
>
>> On Wednesday 22 July 2009, Dong Tiger wrote:
>> > 2009/7/23 Aaron J. Seigo <aseigo at 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 at kde.org
>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20090724/bd703c53/attachment-0001.htm 


More information about the Plasma-devel mailing list