Plasmoids and monochrom icons (plasma-theme icons)

Marco Martin notmart at gmail.com
Wed Nov 10 17:54:22 CET 2010


On Wednesday 10 November 2010, Nik Lutz wrote:
> Hi
> 
> Users of my plasmoid* are repeatingly asking for monochrom-icons: How
> can a plasmoid use the new plasma-theme-icons introduced in 4.5?
> 
> http://techbase.kde.org/Development/Tutorials/Plasma/ThemeDetails mentions
> that applications should use setIconByName for their system-tray icons.
> 
> But what about plasmoids (that "live" in the panel)? From my
> experience plasmoids get icons from the (desktop-) icon-theme.
> 
> Any hint/idea?
> 
> /nik
> 

popupapplets do use a monocrome icon if they are in the panel and the name of 
the icon they use is present in the plasma theme in the following form

* setPopupIcon("foo-bar-baz")

* exists a foo.svgz that has an element called "foo-bar-baz"


Cheers, 
Marco Martin


More information about the Plasma-devel mailing list