summaryrefslogtreecommitdiff
path: root/atk
diff options
context:
space:
mode:
authorBill Haneman <billh@src.gnome.org>2002-11-20 17:09:31 +0000
committerBill Haneman <billh@src.gnome.org>2002-11-20 17:09:31 +0000
commit16b385624444f6c70fde45273cc46ab80a34f226 (patch)
tree41e822d95138307bb79e44830d09c06a9af43504 /atk
parent8e05074e7d2f6a1d9d97752357b167bf6cf60849 (diff)
downloadatk-16b385624444f6c70fde45273cc46ab80a34f226.tar.gz
Added ATK_ROLE_APPLICATION, revved to 1.1.3. Fix for 99090.
Diffstat (limited to 'atk')
-rwxr-xr-xatk/atkobject.c3
-rwxr-xr-xatk/atkobject.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/atk/atkobject.c b/atk/atkobject.c
index 3b51ab6..0c9c220 100755
--- a/atk/atkobject.c
+++ b/atk/atkobject.c
@@ -1398,6 +1398,9 @@ atk_role_get_localized_name (AtkRole role)
case ATK_ROLE_RULER:
name = _("ruler");
break;
+ case ATK_ROLE_APPLICATION:
+ name = _("application");
+ break;
default:
name = atk_role_get_name (role);
break;
diff --git a/atk/atkobject.h b/atk/atkobject.h
index 89f5deb..ddef6d8 100755
--- a/atk/atkobject.h
+++ b/atk/atkobject.h
@@ -113,6 +113,7 @@ extern "C" {
*@ATK_ROLE_FOOTER: An object that serves as a document footer.
*@ATK_ROLE_PARAGRAPH: An object which is contains a paragraph of text content.
*@ATK_ROLE_RULER: An object which describes margins and tab stops, etc. for text objects which it controls (should have CONTROLLER_FOR relation to such).
+ *@ATK_ROLE_APPLICATION: The object is an application object, which may contain @ATK_ROLE_FRAME objects or other types of accessibles.
*@ATK_ROLE_LAST_DEFINED: not a valid role, used for finding end of enumeration
*
*Describes the role of an object
@@ -192,6 +193,7 @@ typedef enum
ATK_ROLE_FOOTER,
ATK_ROLE_PARAGRAPH,
ATK_ROLE_RULER,
+ ATK_ROLE_APPLICATION,
ATK_ROLE_LAST_DEFINED
} AtkRole;