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 468882 - GKeyFile doesn't accept "True" as a true boolean value
GKeyFile doesn't accept "True" as a true boolean value
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2007-08-21 15:14 UTC by Bastien Nocera
Modified: 2007-12-10 17:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glib-keyfile-case-unsensitive-bool-values.patch (586 bytes, patch)
2007-08-21 15:15 UTC, Bastien Nocera
rejected Details | Review
glib-gkeyfile-boolean-doc.patch (739 bytes, patch)
2007-12-10 16:57 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2007-08-21 15:14:01 UTC
This was causing Totem not to load a plugin automatically, because the value in the file was "Builtin=True", not "Builtin=true".

Patch attached.
Comment 1 Bastien Nocera 2007-08-21 15:15:43 UTC
Created attachment 94057 [details] [review]
glib-keyfile-case-unsensitive-bool-values.patch
Comment 2 Matthias Clasen 2007-11-08 05:34:58 UTC
so far gkeyfile has been pretty strict about following the letter of the desktop entry spec, and the spec says:

Values of type boolean must either be the string true or false.
Comment 3 Bastien Nocera 2007-11-08 10:47:27 UTC
(In reply to comment #2)
> so far gkeyfile has been pretty strict about following the letter of the
> desktop entry spec, and the spec says:
> 
> Values of type boolean must either be the string true or false.

I'll file a patch to mention the case-sensitiveness in the doc then.
Comment 4 Bastien Nocera 2007-12-10 16:57:09 UTC
Created attachment 100699 [details] [review]
glib-gkeyfile-boolean-doc.patch
Comment 5 Matthias Clasen 2007-12-10 16:59:45 UTC
Looks fine.
Comment 6 Bastien Nocera 2007-12-10 17:05:33 UTC
2007-12-10  Bastien Nocera  <hadess@hadess.net>

        * glib/tmpl/keyfile.sgml: Mention the difference
        in handling booleans between GKeyFile and .INI files
        (Closes: #468882)