[at-spi2-atk] roles: create new AT-SPI2 roles for ARIA roles (and one for rating)



commit 9d53aed051bad5025d269cb429ce5cab8ac7586e
Author: Alejandro PiƱeiro <apinheiro igalia com>
Date:   Mon Nov 18 19:14:35 2013 +0100

    roles: create new AT-SPI2 roles for ARIA roles (and one for rating)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712608

 atk-adaptor/object.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/atk-adaptor/object.c b/atk-adaptor/object.c
index 36c6092..cf15cc1 100644
--- a/atk-adaptor/object.c
+++ b/atk-adaptor/object.c
@@ -460,6 +460,14 @@ init_role_lookup_table (AtspiRole * role_table)
   role_table[ATK_ROLE_BLOCK_QUOTE] = ATSPI_ROLE_BLOCK_QUOTE;
   role_table[ATK_ROLE_AUDIO] = ATSPI_ROLE_AUDIO;
   role_table[ATK_ROLE_VIDEO] = ATSPI_ROLE_VIDEO;
+  role_table[ATK_ROLE_DEFINITION] = ATSPI_ROLE_DEFINITION;
+  role_table[ATK_ROLE_ARTICLE] = ATSPI_ROLE_ARTICLE;
+  role_table[ATK_ROLE_LANDMARK] = ATSPI_ROLE_LANDMARK;
+  role_table[ATK_ROLE_LOG] = ATSPI_ROLE_LOG;
+  role_table[ATK_ROLE_MARQUEE] = ATSPI_ROLE_MARQUEE;
+  role_table[ATK_ROLE_MATH] = ATSPI_ROLE_MATH;
+  role_table[ATK_ROLE_RATING] = ATSPI_ROLE_RATING;
+  role_table[ATK_ROLE_TIMER] = ATSPI_ROLE_TIMER;
 
   return TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]