2011/9/25 <kde-devel-requ...@kde.org> > Send kde-devel mailing list submissions to > kde-devel@kde.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.kde.org/mailman/listinfo/kde-devel > or, via email, send a message with subject or body 'help' to > kde-devel-requ...@kde.org > > You can reach the person managing the list at > kde-devel-ow...@kde.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of kde-devel digest..." > > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > unsubscribe << > > > > Today's Topics: > > 1. Ask for help about PopupApplet in PyKDE4 (jialrs_dev) > 2. Re: Allow users to donate money towards bugs (Sven Burmeister) > 3. Re: Allow users to donate money towards bugs (Lydia Pintscher) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 25 Sep 2011 11:54:58 +0800 > From: jialrs_dev <jialrs_...@126.com> > To: KDE <kde-devel@kde.org> > Subject: Ask for help about PopupApplet in PyKDE4 > Message-ID: <4e7ea612.8000...@126.com> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" > > Hi everyone, I want to write a popup plasma as system-monitor in python, > but it seems that I can't do it easily, at first I use like this: > > [....] > > but just give me an error : "Applet has no attribute setPopupIcon" > so I want to konw how can I implement a Popup Plasma, and how > to use the PopupApplet class , thank you. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://mail.kde.org/mailman/private/kde-devel/attachments/20110925/36734a67/attachment.html > > > > ------------------------------
Most likely, something inside your metadata.desktop is wrong. My guess is: you have this line X-KDE-ServiceTypes=Plasma/Applet instead of this one: X-KDE-ServiceTypes=Plasma/Applet,Plasma/PopupApplet Try this change, and see if it fix your problem :) Cheers!! Diego H: Who is Watson without Sherlock Holmes? G: Watson was a genius in his own right. My personal blog: http://polentino911.wordpress.com/
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<