GNOME Bugzilla – Bug 126797
Text reported incorrectly when bold
Last modified: 2004-12-22 21:47:04 UTC
in gnome-network-preferences the text in some radio buttons, e.g. Direct internet connection is bold. AtkText interfacereports the <b> at the start of the text as part of the text.
padraig: does the AtkText interface report text-attribute "bold" for this text? (if not that should perhaps be logged as a separate bug).
There is not a text attribute called bold. The value of weight indicates that the text is bold and that value is 700 against a default of 400. The problem with the text containing <b> and </B> is that we initialize an internal buffer before these are stripped from the text and we do not get a notiifcation that they are stripped. I will get around that by initializing the buffer when the widget is mapped.
Created attachment 21441 [details] [review] Proposed patch
padraig : yes, 'weight' is right (borrowed from CSS attributes). thanks for the correction.
Created attachment 21452 [details] [review] Proposed patch
Patch committed to CVS HEAD.