plasmoid icon setting

Aaron J. Seigo aseigo at kde.org
Fri May 23 01:56:48 CEST 2008


On Thursday 22 May 2008, Toussis Manolis wrote:
> I want to use a custom svg icon , for my plasmoid...
> I don't know were to install it , so I can use it in my desktop file...
> Also the name on the desktop file is the filename? or something else..?

if it's a regular C++ plasmoid, put something this in your CMakeLists.txt:

kde4_add_app_icon(<yourproject>_SRCS "<iconfile.png>")

with packaged (non-C++) plasmoids the icon is in the package itself, which is 
rather nicer imho =)

-- 
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 Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080522/1a347cea/attachment.pgp 


More information about the Panel-devel mailing list