[orca/gnome-3-4] Fix for bug 672461 - Orca now presents the full file list when the file chooser is opened



commit 3ae3a4377596a4fd977d8a459854e13b1d661b1d
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Apr 4 05:50:25 2012 -0400

    Fix for bug 672461 - Orca now presents the full file list when the file chooser is opened

 src/orca/scripts/default.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 2f4adf2..05c42de 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -3612,6 +3612,12 @@ class Script(script.Script):
         if event.source.getRole() == pyatspi.ROLE_SLIDER:
             return
 
+        state = event.source.getState()            
+        if event.source.getRole() == pyatspi.ROLE_TABLE_CELL \
+           and not state.contains(pyatspi.STATE_FOCUSED) \
+           and not state.contains(pyatspi.STATE_SELECTED):
+            return
+
         self.updateBraille(event.source)
 
         if event.source.getRole() == pyatspi.ROLE_SPIN_BUTTON:



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