Unfortunately, you can't use AS (array of strings) in a granite settings
class directly. You have to access it with the gsettings schema of the
settings class. This is a known limitation, and unfortunately it is not
under our control.
See the Scratch settings class for instance.
Le 16/03/2012 14:18, Corentin Noël a écrit :
> Public bug reported:
>
> When I use a String[] variable with Granite.Services.Settings, the
> variable is not saved at all…
>
> ** Affects: granite
> Importance: Undecided
> Status: New
>
>
> ** Tags: save settings string
>
status triaged
importance wishlist
Thanks for the report!
Unfortunately, you can't use AS (array of strings) in a granite settings
class directly. You have to access it with the gsettings schema of the
settings class. This is a known limitation, and unfortunately it is not
under our control.
See the Scratch settings class for instance.
Le 16/03/2012 14:18, Corentin Noël a écrit : Services. Settings, the
> Public bug reported:
>
> When I use a String[] variable with Granite.
> variable is not saved at all…
>
> ** Affects: granite
> Importance: Undecided
> Status: New
>
>
> ** Tags: save settings string
>