[pyatspi2] Fix object:active-descendant-changed events
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2] Fix object:active-descendant-changed events
- Date: Sat, 1 May 2010 15:45:20 +0000 (UTC)
commit 42251bd016630828f7433e2deb14f6a73f9e7b11
Author: Mike Gorse <mgorse novell com>
Date: Sat May 1 11:28:17 2010 -0400
Fix object:active-descendant-changed events
pyatspi/appevent.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/appevent.py b/pyatspi/appevent.py
index 4b295df..4ebbba3 100644
--- a/pyatspi/appevent.py
+++ b/pyatspi/appevent.py
@@ -199,7 +199,8 @@ def event_type_to_signal_reciever(bus, factory, event_handler, event_type):
if type.is_subtype (EventType ("object:bounds-changed")):
any_data = BoundingBox(*any_data)
elif (type.is_subtype (EventType ("object:children-changed")) or
- type.is_subtype (EventType ("object:property-change:accessible-parent"))):
+ type.is_subtype (EventType ("object:property-change:accessible-parent")) or
+ type.is_subtype (EventType ("object:active-descendant-changed"))):
data_name, data_path = any_data;
any_data = factory (data_name, data_path, interfaces.ATSPI_ACCESSIBLE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]