[orca] Fix for bug 696334 - traceback when analyzing a checkbox for the flat review context



commit 86837c7c4ab71ba11149ad9d6150ff6e8d84edf0
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Mar 21 17:33:45 2013 -0400

    Fix for bug 696334 - traceback when analyzing a checkbox for the flat review context

 src/orca/flat_review.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/orca/flat_review.py b/src/orca/flat_review.py
index 9e52783..445092e 100644
--- a/src/orca/flat_review.py
+++ b/src/orca/flat_review.py
@@ -356,21 +356,21 @@ class StateZone(Zone):
                 else:
                     speechState = object_properties.STATE_NOT_CHECKED
                 brailleState = \
-                    settings.brailleCheckBoxIndicators[stateCount]
+                    object_properties.CHECK_BOX_INDICATORS_BRAILLE[stateCount]
             elif self.role == pyatspi.ROLE_TOGGLE_BUTTON:
                 if stateCount:
                     speechState = object_properties.STATE_PRESSED
                 else:
                     speechState = object_properties.STATE_NOT_PRESSED
                 brailleState = \
-                    settings.brailleRadioButtonIndicators[stateCount]
+                    object_properties.RADIO_BUTTON_INDICATORS_BRAILLE[stateCount]
             else:
                 if stateCount:
                     speechState = object_properties.STATE_SELECTED_RADIO_BUTTON
                 else:
                     speechState = object_properties.STATE_UNSELECTED_RADIO_BUTTON
                 brailleState = \
-                    settings.brailleRadioButtonIndicators[stateCount]
+                    object_properties.RADIO_BUTTON_INDICATORS_BRAILLE[stateCount]
 
             if attr == "string":
                 return speechState


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