[orca/gnome-3-22] Yet another workaround for yet another missing state-changed event



commit 3019e10d38beb4af116bf96710a50ad2c9f47f48
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Oct 17 05:13:45 2016 -0400

    Yet another workaround for yet another missing state-changed event

 src/orca/scripts/apps/soffice/script.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index e41a3c8..fda59c0 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -717,6 +717,11 @@ class Script(default.Script):
             return
 
         # Ditto.
+        if role == pyatspi.ROLE_TOGGLE_BUTTON:
+            orca.setLocusOfFocus(event, event.source)
+            return
+
+        # Ditto.
         if role == pyatspi.ROLE_COMBO_BOX:
             orca.setLocusOfFocus(event, event.source)
             return


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