Closed GoogleCodeExporter closed 9 years ago
Yeah, ampersands are the big annoying characters (like in html). You don't even
have
to actually create the watch to reproduce the bug, you can simply type "joy &
happiness" in the watch name and it will fail setting the label7 properly,
outputting
errors. I wonder how to fix that, any ideas folks?
add_watch.py:83: GtkWarning: Failed to set text from markup due to error parsing
markup: Error on line 1: Unfinished entity reference
self.wTree.get_widget("label7").set_label(new_name)
add_watch.py:83: GtkWarning: Failed to set text from markup due to error parsing
markup: Error on line 1: Character ' ' is not valid at the start of an entity
name;
the & character begins an entity; if this ampersand isn't supposed to be an
entity,
escape it as &
self.wTree.get_widget("label7").set_label(new_name)
Original comment by nekoh...@gmail.com
on 18 Mar 2007 at 2:46
Before I reported issue #52, I was a good little monkey and did a search to
make sure
there wasn't already an open issue for it and ran across this one.
Since I (think I) managed to figure out how to solve that one, I figured this
one
couldn't be too much different. Sure enough, it wasn't. Have a look at the
attached
patch.
Original comment by bkei...@gmail.com
on 9 May 2007 at 1:08
Attachments:
Sorry, the issue referenced in the previous comment should be issue #56.
Original comment by bkei...@gmail.com
on 9 May 2007 at 1:10
I modified slightly your patch and it now works for me. I'll commit that in SVN
114.
Original comment by nekoh...@gmail.com
on 1 Jul 2007 at 12:12
Original comment by nekoh...@gmail.com
on 18 Mar 2008 at 2:10
Original issue reported on code.google.com by
vfi...@gmail.com
on 18 Mar 2007 at 4:48