[Gambas-user] Default icons problem
Maria
geaplanet at ...397...
Wed Jul 25 09:23:32 CEST 2012
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 <gambas at ...1...>
Para: Maria <geaplanet at ...397...>; mailing list for gambas users <gambas-user at 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
More information about the User
mailing list