states: add ATSPI_STATE_CHECKABLE and ATSPI_STATE_HAS_POPUP
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 18 Nov 2013 18:17:31 +0000 (19:17 +0100)
committerMike Gorse <mgorse@suse.com>
Mon, 18 Nov 2013 21:44:19 +0000 (15:44 -0600)
https://bugzilla.gnome.org/show_bug.cgi?id=712609

atk-adaptor/accessible-stateset.c

index dfb2e7d..3ab35ca 100644 (file)
@@ -131,7 +131,10 @@ spi_init_state_type_tables (void)
   atk_state_types[ATSPI_STATE_IS_DEFAULT] = ATK_STATE_DEFAULT;
   accessible_state_types[ATK_STATE_VISITED] = ATSPI_STATE_VISITED;
   atk_state_types[ATSPI_STATE_VISITED] = ATK_STATE_VISITED;
-
+  accessible_state_types[ATK_STATE_HAS_POPUP] = ATSPI_STATE_HAS_POPUP;
+  atk_state_types[ATSPI_STATE_HAS_POPUP] = ATK_STATE_HAS_POPUP;
+  accessible_state_types[ATK_STATE_CHECKABLE] = ATSPI_STATE_CHECKABLE;
+  atk_state_types[ATSPI_STATE_CHECKABLE] = ATK_STATE_CHECKABLE;
 
   return TRUE;
 }