After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700223 - prefs: Add support for string-array preferences
prefs: Add support for string-array preferences
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2013-05-13 13:24 UTC by Florian Müllner
Modified: 2013-05-13 20:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
prefs: Add support for string-array preferences (7.43 KB, patch)
2013-05-13 13:24 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2013-05-13 13:24:13 UTC
See patch, written to avoid an ugly hack in bug 697002.
Comment 1 Florian Müllner 2013-05-13 13:24:22 UTC
Created attachment 243990 [details] [review]
prefs: Add support for string-array preferences

As we only had one string-array preference so far, we didn't bother
with adding a generic way to handle string-array preferences, and
just handled the preference in question explicitly. However we are
going to parse another string-array setting, so generalize the
existing code to make it reusable for that case.
Comment 2 Jasper St. Pierre (not reading bugmail) 2013-05-13 15:28:13 UTC
Review of attachment 243990 [details] [review]:

OK.
Comment 3 Florian Müllner 2013-05-13 20:16:04 UTC
Attachment 243990 [details] pushed as c2ecdd0 - prefs: Add support for string-array preferences