From 193abeb56fa98b00be30a334f1a76605013fe230 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Fri, 4 Oct 2013 12:02:11 +0200 Subject: [PATCH] role: new role ATK_ROLE_TITLE_BAR https://bugzilla.gnome.org/show_bug.cgi?id=709351 --- atk/atkobject.c | 2 ++ atk/atkobject.h | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/atk/atkobject.c b/atk/atkobject.c index ab8f53e..82baf6f 100755 --- a/atk/atkobject.c +++ b/atk/atkobject.c @@ -202,6 +202,8 @@ enum { N_("image map") N_("notification") N_("info bar") + N_("level bar") + N_("title bar") #endif /* 0 */ static void atk_object_class_init (AtkObjectClass *klass); diff --git a/atk/atkobject.h b/atk/atkobject.h index 262d39b..d16c53a 100755 --- a/atk/atkobject.h +++ b/atk/atkobject.h @@ -153,8 +153,10 @@ G_BEGIN_DECLS *@ATK_ROLE_NOTIFICATION: A transitory object designed to present a message to the user, typically at the desktop level rather than inside a particular application. @Since: ATK-2.1.0 *@ATK_ROLE_INFO_BAR: An object designed to present a message to the user within an existing window. @Since: ATK-2.1.0 *@ATK_ROLE_LEVEL_BAR: A bar that serves as a level indicator to, for instance, show the strength of a password or the state of a battery. @Since: ATK-2.7.3 + *@ATK_ROLE_TITLE_BAR: A bar that serves as the title of a window or a + * dialog. @Since: ATK-2.12 *@ATK_ROLE_LAST_DEFINED: not a valid role, used for finding end of the enumeration - * + * * Describes the role of an object * * These are the built-in enumerated roles that UI components can have in @@ -265,6 +267,7 @@ typedef enum ATK_ROLE_NOTIFICATION, ATK_ROLE_INFO_BAR, ATK_ROLE_LEVEL_BAR, + ATK_ROLE_TITLE_BAR, ATK_ROLE_LAST_DEFINED } AtkRole; -- 2.7.4