[orca/gnome-3-4] Fix for Orca's incorrectly skipping certain Qt menu item events



commit 98885ee59d4335abeffd824529d2d6cee066107a
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sun Apr 15 14:25:48 2012 -0400

    Fix for Orca's incorrectly skipping certain Qt menu item events

 src/orca/script.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/script.py b/src/orca/script.py
index 99b7d18..8aa03b7 100644
--- a/src/orca/script.py
+++ b/src/orca/script.py
@@ -428,6 +428,7 @@ class Script:
             skip = True
             reason = "more recent event of the same type in the same object"
         elif event.type in focus and event.source != cachedEvent.source \
+             and event.type == cachedEvent.type \
              and event.detail1 == cachedEvent.detail1:
             skip = True
             reason = "more recent event of the same type in a different object"



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