[orca] Check the locusOfFocus rather than STATE_FOCUSED in onValueChanged()
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Check the locusOfFocus rather than STATE_FOCUSED in onValueChanged()
- Date: Thu, 7 Nov 2013 00:09:28 +0000 (UTC)
commit ae86ac14be17c782d7a915fdc77ad05bc2d0ca92
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Nov 6 19:06:49 2013 -0500
Check the locusOfFocus rather than STATE_FOCUSED in onValueChanged()
src/orca/scripts/default.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index b22cbfe..54d7d8c 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -2914,7 +2914,7 @@ class Script(script.Script):
self.handleProgressBarUpdate(event, obj)
return
- if not obj.getState().contains(pyatspi.STATE_FOCUSED):
+ if not self.utilities.isSameObject(obj, orca_state.locusOfFocus):
return
self.pointOfReference["oldValue"] = value.currentValue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]