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 654609 - Bug with special chars in GtkComboBoxText items
Bug with special chars in GtkComboBoxText items
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-14 11:58 UTC by Fabien Parent
Modified: 2011-10-09 18:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing the bug (1.77 KB, patch)
2011-07-14 11:58 UTC, Fabien Parent
none Details | Review

Description Fabien Parent 2011-07-14 11:58:38 UTC
Created attachment 191952 [details] [review]
Patch fixing the bug

Hello,

There is a bug when adding items in the GtkComboBoxText with a name containing a special char (like '&'). Every characters following the special character are missing from the written xml file.

I attached a patch fixing the problem.
Comment 1 Tristan Van Berkom 2011-10-09 18:58:32 UTC
Thanks this looks like a drastic but good change... lets roll with it

For the record I had to modify the patch because we prefer the C89
standard... in particular variables must be declared before any
other statements in any code block.

Committed in master, glade-3-10 and glade-3-8