[Gambas-user] Default icons problem

Benoît Minisini gambas at ...1...
Sun Jul 22 15:59:07 CEST 2012


Le 22/07/2012 10:00, Maria a écrit :
>
>
>>> Is there any option to select the icons theme you want when loading a
>>> Gambas program?
>
>> Yes. By setting the Application.Theme property with the name of the current
>> desktop in lower case. You can get the name of the current desktop by using
>>   the gb.desktop component, and get the value of the Desktop.Type property.
>
>
>
> I will refine the question: is there any option to FORCE an icon set even if you don't use a popular desktop?
>
> Something like
> Application.IconTheme="oxygen"
> perhaps?
>
>
> Thanks for your patience.

Hi,

In revision #4980, I added a Stock.Theme property that allows to define 
which specific icon theme will be used, indepently of the current 
desktop configuration.

Moreover, I fixed some bugs and now all icon theme should be correctly 
handled : gnome, kde and/or svg-only icon themes.

Tell me if it fits your needs.

Regards,

-- 
Benoît Minisini




More information about the User mailing list