orca r3444 - in trunk: . src/orca
- From: shaeger svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3444 - in trunk: . src/orca
- Date: Fri, 11 Jan 2008 14:41:56 +0000 (GMT)
Author: shaeger
Date: Fri Jan 11 14:41:55 2008
New Revision: 3444
URL: http://svn.gnome.org/viewvc/orca?rev=3444&view=rev
Log:
Fixed bug #508624, Checkbox tristate not announcing state changes.
Modified:
trunk/ChangeLog
trunk/src/orca/Gecko.py
trunk/src/orca/default.py
Modified: trunk/src/orca/Gecko.py
==============================================================================
--- trunk/src/orca/Gecko.py (original)
+++ trunk/src/orca/Gecko.py Fri Jan 11 14:41:55 2008
@@ -2451,6 +2451,8 @@
self.onStateChanged
listeners["object:state-changed:checked"] = \
self.onStateChanged
+ listeners["object:state-changed:indeterminate"] = \
+ self.onStateChanged
listeners["object:state-changed:busy"] = \
self.onStateChanged
listeners["object:children-changed"] = \
Modified: trunk/src/orca/default.py
==============================================================================
--- trunk/src/orca/default.py (original)
+++ trunk/src/orca/default.py Fri Jan 11 14:41:55 2008
@@ -834,7 +834,9 @@
self.onStateChanged
listeners["object:state-changed:checked"] = \
self.onStateChanged
- listeners["object:state-changed:expanded"] = \
+ listeners["object:state-changed:indeterminate"] = \
+ self.onStateChanged
+ listeners["object:state-changed:expanded"] = \
self.onStateChanged
listeners["object:selection-changed"] = \
self.onSelectionChanged
@@ -6332,7 +6334,8 @@
state_change_notifiers = {}
state_change_notifiers[pyatspi.ROLE_CHECK_MENU_ITEM] = ("checked", None)
-state_change_notifiers[pyatspi.ROLE_CHECK_BOX] = ("checked", None)
+state_change_notifiers[pyatspi.ROLE_CHECK_BOX] = ("checked", "indeterminate",
+ None)
state_change_notifiers[pyatspi.ROLE_PANEL] = ("showing", None)
state_change_notifiers[pyatspi.ROLE_LABEL] = ("showing", None)
state_change_notifiers[pyatspi.ROLE_TOGGLE_BUTTON] = ("checked", None)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]