[orca] Fix traceback



commit c101d93715e6a0fbac4cf246a358cc6c72c8f124
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Mar 22 12:05:41 2016 -0400

    Fix traceback

 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 31e03b2..a2e0eb3 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -1987,7 +1987,7 @@ class Utilities:
 
         alertAndDialogCount = 0
         app = obj.getApplication()
-        window = Utilities.topLevelObject(obj)
+        window = self.topLevelObject(obj)
         if window and window.getRole() != pyatspi.ROLE_ALERT and \
            window.getRole() != pyatspi.ROLE_DIALOG and \
            not self.isFunctionalDialog(window):


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