From 97dde59d5660daeb4ed1e040f7c32e60df5e0743 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Mon, 25 Feb 2013 19:37:27 -0600 Subject: [PATCH] Add locale property, corresponding to atspi_accessible_get_locale https://bugzilla.gnome.org/show_bug.cgi?id=694368 --- pyatspi/Accessibility.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyatspi/Accessibility.py b/pyatspi/Accessibility.py index 1248a3e..4fe0f8d 100644 --- a/pyatspi/Accessibility.py +++ b/pyatspi/Accessibility.py @@ -126,6 +126,7 @@ Atspi.Accessible.getRoleName = Atspi.Accessible.get_role_name Atspi.Accessible.getState = Atspi.Accessible.get_state_set del Atspi.Accessible.children Atspi.Accessible.description = property(fget=Atspi.Accessible.get_description) +Atspi.Accessible.locale = property(fget=Atspi.Accessible.get_locale) Atspi.Accessible.name = property(fget=Atspi.Accessible.get_name) Atspi.Accessible.isEqual = lambda a,b: a == b Atspi.Accessible.parent = property(fget=Atspi.Accessible.get_parent) -- 1.7.10.4