From: Padraig O'Briain Date: Mon, 1 Dec 2003 18:16:41 +0000 (+0000) Subject: Add new role ATK_ROLE_EDITBAR. Fixes bug #111607. X-Git-Tag: ATK_1_5_1~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c8b651575ac833a0670d465364425598ca3b4dd;p=platform%2Fupstream%2Fatk.git Add new role ATK_ROLE_EDITBAR. Fixes bug #111607. 2003-12-03 Padraig O'Briain * atk/atkobject.[ch]: Add new role ATK_ROLE_EDITBAR. Fixes bug #111607. * atk/docs/tmpl/atkhyperlink.sgml: Add references to new signals and properties * atk/docs/tmpl/atkobject.sgml: Add references to new property and role --- diff --git a/ChangeLog b/ChangeLog index badec8d..614af19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2003-12-03 Padraig O'Briain + + * atk/atkobject.[ch]: Add new role ATK_ROLE_EDITBAR. Fixes bug #111607. + + * atk/docs/tmpl/atkhyperlink.sgml: Add references to new signals and + properties + + * atk/docs/tmpl/atkobject.sgml: Add references to new property and role + 2003-12-01 Michael Natterer * atk/atkobject.c (atk_object_real_get_property): fix typo: @@ -13,7 +22,7 @@ * atk/atkhyperlink.h: Remove unnecessary comments. Add signal link_activated. - * atk/atkhyperlink.c: aAdd signals link_activated and new properties + * atk/atkhyperlink.c: Add signals link_activated and new properties "number-of-anchors, end-index and start-index. This fixes bug #112390. diff --git a/atk/atkobject.c b/atk/atkobject.c index 9137a6f..d84727f 100755 --- a/atk/atkobject.c +++ b/atk/atkobject.c @@ -153,7 +153,8 @@ static AtkRoleItem role_items [] = { ATK_ROLE_FOOTER, N_("footer")}, { ATK_ROLE_PARAGRAPH, N_("paragraph")}, { ATK_ROLE_APPLICATION, N_("application")}, - { ATK_ROLE_AUTOCOMPLETE, N_("autocomplete")} + { ATK_ROLE_AUTOCOMPLETE, N_("autocomplete")}, + { ATK_ROLE_EDITBAR, N_("edit bar")} }; static void atk_object_class_init (AtkObjectClass *klass); diff --git a/atk/atkobject.h b/atk/atkobject.h index 723c1b6..13d0216 100755 --- a/atk/atkobject.h +++ b/atk/atkobject.h @@ -115,6 +115,7 @@ extern "C" { *@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_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 a editable text object in a toolbar *@ATK_ROLE_LAST_DEFINED: not a valid role, used for finding end of enumeration * * Describes the role of an object @@ -200,6 +201,7 @@ typedef enum ATK_ROLE_RULER, ATK_ROLE_APPLICATION, ATK_ROLE_AUTOCOMPLETE, + ATK_ROLE_EDITBAR, ATK_ROLE_LAST_DEFINED } AtkRole; diff --git a/docs/tmpl/atkhyperlink.sgml b/docs/tmpl/atkhyperlink.sgml index fe9840e..1e00fef 100644 --- a/docs/tmpl/atkhyperlink.sgml +++ b/docs/tmpl/atkhyperlink.sgml @@ -22,11 +22,33 @@ The AtkHyperlink structure should not be accessed directly. + + + + + +@atkhyperlink: the object which received the signal. + + + + + + + + + + + + + + + + diff --git a/docs/tmpl/atkobject.sgml b/docs/tmpl/atkobject.sgml index ff081a2..94c56a2 100644 --- a/docs/tmpl/atkobject.sgml +++ b/docs/tmpl/atkobject.sgml @@ -110,6 +110,11 @@ the object changed. + + + + + @@ -244,6 +249,7 @@ the object changed. @ATK_ROLE_RULER: @ATK_ROLE_APPLICATION: @ATK_ROLE_AUTOCOMPLETE: +@ATK_ROLE_EDITBAR: @ATK_ROLE_LAST_DEFINED: