Plasmoids and monochrom icons (plasma-theme icons)

Nik Lutz nik.lutz at gmail.com
Thu Nov 11 11:02:22 CET 2010


Thanks for the answer.  So it's currently not possible to use
monochrom icons for the widget - are there any plans to add an
option/function for that?

/nik


On Wed, Nov 10, 2010 at 5:54 PM, Marco Martin <notmart at gmail.com> wrote:
> 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
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>


More information about the Plasma-devel mailing list