From 68ce6c62f725b9fe5fc45556ef81685288aa700c Mon Sep 17 00:00:00 2001 From: Bill Haneman Date: Tue, 20 Jul 2004 13:39:31 +0000 Subject: [PATCH] Fix for bug 147989; Added ATK_ROLE_EMBEDDED. Revved to 1.7.2. --- ChangeLog | 20 +++++++++++++++----- NEWS | 5 +++++ atk/atkobject.c | 3 ++- atk/atkobject.h | 2 ++ configure.in | 4 ++-- 5 files changed, 26 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 545c036..a210f4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2004-07-20 Bill Haneman + + * atk/atkobject.h, atkobject.c, atk-object-enum.c: + Added ATK_ROLE_EMBEDDED, "embedded component", which is a + context hint for assistive technologies that the contained + children share a context which differs from the embedding + container. Fixes bug #147989. + + * configure.in: Revved to 1.7.2. + 2004-06-10 Padraig O'Briain * atk/atkcomponent.h: Add definition for atk_rectangle_get_type @@ -86,7 +96,7 @@ * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS. -2004.04.02 Iñaki Larrañaga +2004.04.02 Iñaki Larrañaga * configure.in: Added "eu" (Basque) to ALL_LINGUAS. @@ -120,7 +130,7 @@ * NEWS: Updated. -2004-03-07 Danilo Šegan +2004-03-07 Danilo Å egan * configure.in: Added "sr@ije" to ALL_LINGAUS. @@ -253,7 +263,7 @@ Mon Mar 1 20:32:06 2004 Tim Janik This fixes bug #112390. -2003-11-29 Danilo Šegan +2003-11-29 Danilo Å egan * configure.in: Added "af" to ALL_LINGUAS. @@ -339,7 +349,7 @@ Mon Mar 1 20:32:06 2004 Tim Janik * atk.spec.in: Correct typo. Fix provided by Scott Kennedy. This fixes bug #121990. -2003-09-21 Åsmund Skjæveland +2003-09-21 Åsmund Skjæveland * configure.in: Added Norwegian (nynorsk) code nn to ALL_LINGUAS. @@ -489,7 +499,7 @@ Mon Mar 1 20:32:06 2004 Tim Janik * NEWS: Updated. -2003-05-09 Samúel Jón Gunnarsson +2003-05-09 Samúel Jón Gunnarsson * is.po: Added "is" into ALL_LINGUAS. diff --git a/NEWS b/NEWS index aa67172..1e972ec 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +Changes in version 1.7.2 +======================== + +* Added ATK_ROLE_EMBEDDED. (bug #147989) + Changes in version 1.7.1 ======================== * Allow locale dir to be not hardcoded into binary. (bug #1289006) diff --git a/atk/atkobject.c b/atk/atkobject.c index 65d1901..2ec044c 100755 --- a/atk/atkobject.c +++ b/atk/atkobject.c @@ -154,7 +154,8 @@ static AtkRoleItem role_items [] = { ATK_ROLE_PARAGRAPH, N_("paragraph")}, { ATK_ROLE_APPLICATION, N_("application")}, { ATK_ROLE_AUTOCOMPLETE, N_("autocomplete")}, - { ATK_ROLE_EDITBAR, N_("edit bar")} + { ATK_ROLE_EDITBAR, N_("edit bar")}, + { ATK_ROLE_EMBEDDED, N_("embedded component")} }; static void atk_object_class_init (AtkObjectClass *klass); diff --git a/atk/atkobject.h b/atk/atkobject.h index 0159289..4f8c92e 100755 --- a/atk/atkobject.h +++ b/atk/atkobject.h @@ -116,6 +116,7 @@ extern "C" { *@ATK_ROLE_APPLICATION: The object is an application object, which may contain @ATK_ROLE_FRAME objects or other types of accessibles. *@ATK_ROLE_AUTOCOMPLETE: The object is a dialog or list containing items for insertion into an entry widget, for instance a list of words for completion of a text entry. *@ATK_ROLE_EDITBAR: The object is an editable text object in a toolbar + *@ATK_ROLE_EMBEDDED: The object is an embedded container within a document or panel. This role is a grouping "hint" indicating that the contained objects share a context. *@ATK_ROLE_LAST_DEFINED: not a valid role, used for finding end of enumeration * * Describes the role of an object @@ -202,6 +203,7 @@ typedef enum ATK_ROLE_APPLICATION, ATK_ROLE_AUTOCOMPLETE, ATK_ROLE_EDITBAR, + ATK_ROLE_EMBEDDED, ATK_ROLE_LAST_DEFINED } AtkRole; diff --git a/configure.in b/configure.in index 5cf7290..b42c43d 100644 --- a/configure.in +++ b/configure.in @@ -17,7 +17,7 @@ dnl set ATK_BINARY_AGE _and_ ATK_INTERFACE_AGE to 0. dnl The triplet m4_define([atk_major_version], [1]) m4_define([atk_minor_version], [7]) -m4_define([atk_micro_version], [1]) +m4_define([atk_micro_version], [2]) m4_define([atk_version], [atk_major_version.atk_minor_version.atk_micro_version]) @@ -25,7 +25,7 @@ dnl The X.Y in -latk-X.Y line. This is expected to stay 1.0 until Atk 2. m4_define([atk_api_version], [1.0]) dnl Number of releases since we've added interfaces -m4_define([atk_interface_age], [1]) +m4_define([atk_interface_age], [2]) m4_define([atk_binary_age], [m4_eval(100 * atk_minor_version + atk_micro_version)]) -- 2.11.4.GIT