[orca/gnome-3-0] Fix for bug 654210 - Orca sometimes fails to present the default button in a dialog



commit 13f98b6dac60be25ebf408305f341bb62eb0d118
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Thu Jul 7 20:13:05 2011 -0400

    Fix for bug 654210 - Orca sometimes fails to present the default button in a dialog

 src/orca/script_utilities.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 53b7054..f55b8a7 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -1371,7 +1371,7 @@ class Utilities:
         for i in range(obj.childCount - 1, -1, -1):
             if obj[i].getRole() == pyatspi.ROLE_STATUS_BAR:
                 statusBar = obj[i]
-            elif not obj[i] in skipRoles:
+            elif not obj[i].getRole() in skipRoles:
                 statusBar = self.statusBar(obj[i])
 
             if statusBar:



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