using type String[] do not save Settings
Bug #956944 reported by
Corentin Noël
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Granite |
Fix Released
|
Wishlist
|
Fabian Thoma |
Bug Description
When I use a String[] variable with Granite.
Related branches
lp://staging/~fabianthoma/granite/settings-bug-956944
- Victor Martinez (community): Approve
- xapantu: Pending requested
-
Diff: 92 lines (+31/-25)1 file modifiedlib/Services/Settings.vala (+31/-25)
Changed in granite: | |
status: | In Progress → Fix Committed |
Changed in granite: | |
milestone: | none → 0.1.1 |
Changed in granite: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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
>