debug says:

GB_STOCK=debug ./test.gambas 
gb.form: init stock with icon theme: ''
gb.form: desktop is LXDE
gb.form: add icon path: /usr/share/icons/default.kde4-original/&1x&1!&2
gb.form: add icon path: /usr/share/icons/hicolor/&1x&1!&2
gb.form: add icon path: /usr/share/icons/gnome/&1x&1!&2
gb.form: add icon path: stock/&2
gb.form: init stock with icon theme: 'Faenza'
gb.form: add icon path: /usr/share/icons/Faenza/&2!&1
gb.form: add icon path: /usr/share/icons/gnome/&1x&1!&2
gb.form: add icon path: /usr/share/icons/hicolor/&1x&1!&2
gb.form: add icon path: stock/&2


But it prefers to load the first set (the system set) instead of the forced 
icon set.

Here a screenshot: http://i.imgur.com/jNM69.png
- In the system: oxygen (default.kde4-original is a sym-link to oxygen 
directory)
- Forced with Stock.Theme property: Faenza

It loads the system icon.



________________________________
 De: Benoît Minisini <gam...@users.sourceforge.net>
Para: Maria <geapla...@yahoo.es>; mailing list for gambas users 
<gambas-user@lists.sourceforge.net> 
Enviado: Miércoles 25 de julio de 2012 0:19
Asunto: Re: [Gambas-user] Default icons problem
 

> Should it work Stock.Theme property in this revision too?

Yes. If you define Stock.Theme with <your theme> (by modifying the IDE 
source code, or in your own project), you must have the following line 
in the debugging output:

gb.form: init stock with icon theme: '<your theme>'

-- 
Benoît Minisini
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to