a11y: Notify ATK_STATE_SHOWING state change
authorAlejo Pacin <apacin@igalia.com>
Thu, 4 Aug 2011 10:02:52 +0000 (12:02 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 4 Aug 2011 10:59:50 +0000 (12:59 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=648633

clutter/cally/cally-actor.c

index 40f8d6e..b3bf24f 100644 (file)
@@ -1203,6 +1203,11 @@ cally_actor_real_notify_clutter (GObject    *obj,
       state = ATK_STATE_VISIBLE;
       value = CLUTTER_ACTOR_IS_VISIBLE (actor);
     }
+  else if (g_strcmp0 (pspec->name, "mapped") == 0)
+    {
+      state = ATK_STATE_SHOWING;
+      value = CLUTTER_ACTOR_IS_MAPPED (actor);
+    }
   else if (g_strcmp0 (pspec->name, "reactive") == 0)
     {
       state = ATK_STATE_SENSITIVE;