[Sugar-devel] [PATCH sugar 2/2] Escape all text passed to MenuItem.text_label

Sascha Silbe sascha-ml-reply-to-2011-3 at silbe.org
Sun Jul 31 06:05:59 EDT 2011


Excerpts from Sascha Silbe's message of Sun Jun 26 20:06:08 +0200 2011:

> sugar.graphics.menuitem.MenuItem passes text_label through to GTK without
> escaping it, so we need to make sure it doesn't contain anything special in
> user data or translations.

This one is bogus: Unlike Palette, MenuItem doesn't enable markup
parsing. Not sure why I thought it did, but further testing clearly
showed otherwise.

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 500 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110731/7093242e/attachment.pgp>


More information about the Sugar-devel mailing list