| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Separate the GtkLabelAccessible, GtkLabelAccessibleLink and
GtkLabelAccessibleLinkImpl implementations more clearly.
|
|
|
|
|
|
|
|
| |
This commit makes the LinkImpl children of label accessibles
inherit all their state, except for focused and visited, which
are handled directly.
https://bugzilla.gnome.org/show_bug.cgi?id=721406
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
For now, move the few private functions from gtklabel.h here.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=702996
|
|
|
|
|
|
|
|
| |
When setting new text on the label, the text-changed::delete signal
needs to be emitted before deleting the text (so that atk-bridge can
query the old text) while the text-changed::insert event needs to happen
afterwards (for the same reason). The old code using the notify signal
was only emitted after changing the text.
|
| |
|
|
|
|
| |
Replace GAIL in top comments by 'GTK+ - accessibility implementations'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit exposes the get_type() functions and standard
headers for accessible implementations. This makes it possible
to derive from the GTK accessible implementations without
GType magic tricks. This is necessary, because we require the
a11y type hierarchy to be parallel to the widget type hierarchy.
So, if you derive a widget and need to adjust its a11y implementation,
you have to be able to derive its accessible implementation.
This commit probably exposes more than is absolutely necessary,
it also exposes accessibles of widgets that are unlikely candidates
for deriving from.
|
|
|
|
|
| |
Move instance fields to a private struct, in preparation
for installing a11y headers.
|
| |
|
|
|
|
|
| |
The y position of the character depends on the window's y coordinate,
not its x coordinate.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This copies the same code that the entry accessible uses
to check for selection changes.
https://bugzilla.gnome.org/show_bug.cgi?id=654428
|
|
|
|
|
| |
The text variable in gtk_label_accessible_get_selection was
shadowing a parameter of the same name.
|
|
|
|
|
| |
Including string.h makes the compiler complain about parameters
and variables called index, which is not nice.
|
|
|
|
|
| |
_-prefix most of the get_type functions in a11y/.
There are still some more symbols left.
|
| |
|
| |
|
|
|
|
| |
We eventually want to get rid of gailmisc, so this is progress.
|
| |
|
|
|
|
|
| |
Don't move the cursor to 0 when removing the selection,
and don't overlook growing selections.
|
| |
|
|
|
|
|
|
| |
Unfortunately, we still keep a copy of the text around, for
::insert/::delete signals; those emissions need to be moved to
GtkLabel itself.
|
|
|
|
|
| |
We always have the textutil now, so remove some NULL checks.
Also, never say 'State is defunct' again...
|
|
|
|
|
|
|
| |
This removes a horrible workaround for bug 126797. To prevent
picking up accidental markup in label texts, the label accessible
is listening for window creation and mapping and defers initializing
its text until then.
|
|
A first experimental conversion from the gail namespace to gtkaccessible.
At the same time, use gtk_widget_class_set_accessible_type() to register
the accessible type for GtkLabel.
|