[Gambas-user] Default icons problem

Benoît Minisini gambas at ...1...
Sat Jul 21 02:22:21 CEST 2012


Le 20/07/2012 20:00, Maria a écrit :
> I'm going to compile the last revision of gambas.
>
>
> $ GB_STOCK=debug gambas3...don't say nothing.

It should print:

1) A line "gb.form: desktop is..." if you specified the "default" theme 
in the IDE options (i.e. the theme corresponding to the current desktop).

2) One or more lines "gb.form: add icon path: ..." for each icon search 
path.

>
> Then, are you meaning the icons theme selection is different in every
> desktop?

Yes.

> Does Freedesktop have any stardarized way of setting the
> default system icons theme?

No, AFAIK nothing is standardized. I must have a routine for each 
desktop to find what the current icon theme is, where it is located, and 
how I can retrieve icons from their sizes.

 > Is there any link in /etc/alternatives to
> choose the system icons theme as you can do it with x mouse theme?

No.

>
> 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.

>
> LXDE is not MATE. For LXDE, it appears that looks to
> /etc/xdg/lxsession/LXDE/desktop.conf or
> ~/.config/lxsession/LXDE/desktop.conf
>
>
> In the line sNet/IconThemeName=
>

Is it for sure? Anyway I think I can test LXDE on Ubuntu directly, so I 
will be able to check. At the moment, there is no specific support for LXDE.

Regards,

-- 
Benoît Minisini




More information about the User mailing list