diff options
author | Mike Gorse <mgorse@suse.com> | 2023-05-03 17:13:02 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2023-05-03 17:13:02 -0500 |
commit | 6e4b76546950d53d1db61ce562952b812fe731e9 (patch) | |
tree | c3446ebcfaed54944d199011f8719bb35644f32a /atspi/atspi-misc.h | |
parent | f6d5fe5a442348c9631e0214048d2037834f4779 (diff) | |
download | at-spi2-core-6e4b76546950d53d1db61ce562952b812fe731e9.tar.gz |
Use internal names when possible for localized role names
This matches the behavior of atspi_accessible_get_role_name. We already hav
translations from atk, so we can use those.
Also, move the table for role name translations into atspi, since it seems
that atk is increasingly becoming a legacy tool.
Add a note to the xml indicating that it is optional to implement
GetRoleName and GetLocalizedRoleName.
Fixes #110
Diffstat (limited to 'atspi/atspi-misc.h')
-rw-r--r-- | atspi/atspi-misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atspi/atspi-misc.h b/atspi/atspi-misc.h index d820d94e..d262aff4 100644 --- a/atspi/atspi-misc.h +++ b/atspi/atspi-misc.h @@ -47,6 +47,8 @@ void atspi_set_main_context (GMainContext *cnx); gchar *atspi_role_get_name (AtspiRole role); + +const gchar *atspi_role_get_localized_name (AtspiRole role); G_END_DECLS #endif /* _ATSPI_MISC_H_ */ |