Comment 1 for bug 956944

Revision history for this message
xapantu (xapantu) wrote : Re: [Bug 956944] [NEW] using type String[] do not save Settings

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