GtkLabelAccessible: Implement AtkHypertext

This commit makes the label accessible implement AtkHypertext,
which returns a AtkHyperlink object for each link in the text.
At the same time, add AtkHyperlinkImpl objects as children
to the label accessible.

Also some private API to indicate that links have changed, and
call that from GtkLabel when needed.

Adjust expected output of the affected a11y tests.

https://bugzilla.gnome.org/show_bug.cgi?id=721410
https://bugzilla.gnome.org/show_bug.cgi?id=721421
This commit is contained in:
Matthias Clasen
2014-01-03 22:59:37 -05:00
parent 0d9efde303
commit 5845356d66
14 changed files with 459 additions and 13 deletions

View File

@ -73,6 +73,7 @@ window1
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkHypertext>
unnamed-GtkListBoxRowAccessible-1
"list item"
parent: listbox1
@ -121,6 +122,7 @@ window1
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkHypertext>
listbox2
"list box"
parent: box1
@ -179,3 +181,4 @@ window1
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkHypertext>