[orca] Remove an old focus: event hack from the state-changed	callback code
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [orca] Remove an old focus: event hack from the state-changed	callback code
- Date: Tue, 12 Nov 2013 18:17:30 +0000 (UTC)
commit 8e3db66e02b2bf38f414e43fd409fc857f648419
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Nov 12 13:16:51 2013 -0500
    Remove an old focus: event hack from the state-changed callback code
 src/orca/scripts/toolkits/Gecko/script.py |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 11b375e..b7d4097 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -1318,14 +1318,6 @@ class Script(default.Script):
 
         # TODO - JD: Go through all of the crap below. :-/
 
-        # Ignore events on the frame as they are often intermingled
-        # with menu activity, wreaking havoc on the context. We will
-        # ignore autocompletes because we get focus events for the
-        # entry, which is the thing that really has focus anyway.
-        #
-        if eventSourceRole in [pyatspi.ROLE_FRAME,
-                               pyatspi.ROLE_AUTOCOMPLETE]:
-            return
 
         # We also ignore focus events on the panel that holds the document
         # frame.  We end up getting these typically because we've called
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]