[at-spi2-atk] Send UpdateAccessible for transient objects
- From: Mike Gorse <mgorse src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Send UpdateAccessible for transient objects
- Date: Wed, 9 Dec 2009 16:36:50 +0000 (UTC)
commit da1f3199bbe61869efb0b46da33d4d168a399035
Author: Mike Gorse <mgorse novell com>
Date: Mon Dec 7 15:59:04 2009 -0500
Send UpdateAccessible for transient objects
Send an UpdateAccessible signal if a Transient object is registered.
This should only happen as the result of a query (GetChildAtIndex,
GetAccessibleAt, etc).
atk-adaptor/accessible-register.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/atk-adaptor/accessible-register.c b/atk-adaptor/accessible-register.c
index 197152b..d4a1d6c 100644
--- a/atk-adaptor/accessible-register.c
+++ b/atk-adaptor/accessible-register.c
@@ -266,6 +266,8 @@ register_gobject (GObject *gobj, GObject *container)
if (atk_state_set_contains_state (state, ATK_STATE_TRANSIENT))
{
g_object_ref (gobj);
+ /* We should only get here as the result of a query other than GetTree */
+ spi_emit_cache_update (accessible, atk_adaptor_app_data->bus);
}
g_object_unref (state);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]