Bug 203150

Summary: ServiceTypes=Plasma/Applet not added to google gadget .desktop files
Product: [Unmaintained] plasma4 Reporter: Khashayar <khashayar.lists>
Component: widget-ggadgetsAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: asraniel, kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Khashayar 2009-08-09 11:37:15 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Ubuntu Packages

Disclaimer: I tweaked the Ubuntu source debs so that they would also build the google gadget scriptengine, so although I'm using the Ubuntu packages, they're not official.

The problem is, when downloading google gadgets, they wouldn't show up in the list of available widgets. After poking around in ~/.kde, and comparing .desktop files, I found out that adding "ServiceTypes=Plasma/Applet" to the *ggl*.desktop files would have them appear in the list.
Comment 1 Nicolas L. 2009-10-17 02:11:48 UTC
just looked and this is added here on kde 4.3.2.

i have ~/.kde4/share/kde4/services/plasma-applet-ggl_2.desktop and 

$ grep ServiceTypes ~/.kde4/share/kde4/services/plasma-applet-ggl_2.desktop
X-KDE-ServiceTypes=Plasma/Applet,Plasma/Containment
Comment 2 Nicolas L. 2010-04-25 23:35:32 UTC
closing as this is working as expected