orca r4277 - in trunk: . src/orca



Author: wwalker
Date: Sun Oct  5 21:46:30 2008
New Revision: 4277
URL: http://svn.gnome.org/viewvc/orca?rev=4277&view=rev

Log:
Fix for bug #554673 - 80 cells Brailledisplay not usable because of 
contextual braille Information


Modified:
   trunk/ChangeLog
   trunk/src/orca/braillegenerator.py
   trunk/src/orca/settings.py

Modified: trunk/src/orca/braillegenerator.py
==============================================================================
--- trunk/src/orca/braillegenerator.py	(original)
+++ trunk/src/orca/braillegenerator.py	Sun Oct  5 21:46:30 2008
@@ -1732,6 +1732,9 @@
         brailleRolenameStyle = settings.brailleRolenameStyle
 
         regions = []
+        if not settings.enableBrailleContext:
+            return regions
+
         parent = obj.parent
         if parent and (parent.getRole() in self.SKIP_CONTEXT_ROLES):
             parent = parent.parent

Modified: trunk/src/orca/settings.py
==============================================================================
--- trunk/src/orca/settings.py	(original)
+++ trunk/src/orca/settings.py	Sun Oct  5 21:46:30 2008
@@ -109,6 +109,7 @@
     "enableNavigationKeys",
     "enableTutorialMessages",
     "enableBraille",
+    "enableBrailleContext",
     "enableBrailleGrouping",
     "disableBrailleEOL",
     "brailleEOLIndicator",
@@ -343,6 +344,12 @@
 #
 enableBraille           = True
 
+# If True, add the hierarchical context of an object to the braille
+# line.  People with very large braille displays may want to set this
+# to False.
+#
+enableBrailleContext    = True
+
 # If True, enable the grouping of children on the braille display.
 # This is for things like displaying all items of a menu, tab list,
 # menu bar, etc., on a single line of the braille display.



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