diff options
author | Mike Gorse <mgorse@suse.com> | 2013-01-31 15:40:37 -0600 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2013-01-31 15:40:37 -0600 |
commit | 65d0b92ac3abe847e667838bc1896c542b5c0d07 (patch) | |
tree | cef9a5db73fec88b158bbdccd6c3034f842ce303 | |
parent | 57e6827adb4247724854ae85ab5c8e2e7c68a876 (diff) | |
download | at-spi2-core-65d0b92ac3abe847e667838bc1896c542b5c0d07.tar.gz |
Add ATSPI_ROLE_LEVEL_BAR
Add "level bar" role corresponding to the new atk role.
-rw-r--r-- | atspi/atspi-accessible.c | 3 | ||||
-rw-r--r-- | atspi/atspi-constants.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c index 5f981998..9d79a81c 100644 --- a/atspi/atspi-accessible.c +++ b/atspi/atspi-accessible.c @@ -301,7 +301,8 @@ static const char *role_names [] = "grouping", "image map", "notification", - "info bar" + "info bar", + "level bar" }; #define MAX_ROLES (sizeof (role_names) / sizeof (char *)) diff --git a/atspi/atspi-constants.h b/atspi/atspi-constants.h index cb85a92d..98564e0c 100644 --- a/atspi/atspi-constants.h +++ b/atspi/atspi-constants.h @@ -1065,6 +1065,9 @@ typedef enum { * particular application. * @ATSPI_ROLE_INFO_BAR: An object designed to present a message to the user * within an existing window. + *@ATSPI_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: 2.8 * @ATSPI_ROLE_LAST_DEFINED: Not a valid role, used for finding end of * enumeration. * @@ -1176,6 +1179,7 @@ typedef enum { ATSPI_ROLE_IMAGE_MAP, ATSPI_ROLE_NOTIFICATION, ATSPI_ROLE_INFO_BAR, + ATSPI_ROLE_LEVEL_BAR, ATSPI_ROLE_LAST_DEFINED, } AtspiRole; |