[clutter] a11y: Notify ATK_STATE_SHOWING state change



commit 694649e50c76178995538cb182cce885060d5a05
Author: Alejo Pacin <apacin igalia com>
Date:   Thu Aug 4 12:02:52 2011 +0200

    a11y: Notify ATK_STATE_SHOWING state change
    
    https://bugzilla.gnome.org/show_bug.cgi?id=648633

 clutter/cally/cally-actor.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/clutter/cally/cally-actor.c b/clutter/cally/cally-actor.c
index 40f8d6e..b3bf24f 100644
--- a/clutter/cally/cally-actor.c
+++ b/clutter/cally/cally-actor.c
@@ -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;



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