diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-03-15 10:19:55 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-03-15 14:00:37 +0100 |
commit | 8a0543f9fec90b0b7538fa5f219c9dc38b07ea34 (patch) | |
tree | 3f995fa52e831306664380bd0550aa26be58119c /icon-themes/elementary_svg | |
parent | 5a4c3575945876f90dc2f6d67211107ed3b1de4f (diff) |
gtk4 a11y: Report default text attributes
Implement handling of default text attributes
by implementing the GtkAccessibleTextInterface
method `get_default_attributes` recently added to
the GTK 4 API in GTK commit [1]
commit fe64c998f82c218e46211984485a7a824a781426
Author: Emmanuele Bassi <ebassi@gnome.org>
Date: Sun Mar 3 14:23:37 2024 +0000
a11y: Add GtkAccessibleText.get_default_attributes
With this in place, the default font family for a Writer
paragraph is now reported as expected.
With the paragraph selected in Accerciser's treeview of
the LO a11y hierarchy, this can be seen as follows using
Accerciser's IPython console:
In [4]: acc.queryText().getDefaultAttributes()
Out[4]: 'family-name:Liberation Serif'
This API is available from GTK 4.14.0 on, so bump
the version check for the GtkAccessibleText
implementation to that minimum version.
[1] https://gitlab.gnome.org/GNOME/gtk/-/commit/fe64c998f82c218e46211984485a7a824a781426
Change-Id: Id22bee4b7db542ddde241a4d94a7eb916090ba92
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164860
Tested-by: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'icon-themes/elementary_svg')
0 files changed, 0 insertions, 0 deletions