[orca/570658] Include an empty Component region for blank table cells



commit f729e7409f7a8c3eef2e31c5536c8e48eb21e61e
Author: Willie Walker <william walker sun com>
Date:   Tue Jul 7 19:57:08 2009 -0400

    Include an empty Component region for blank table cells
    
    Just because it is empty doesn't mean it doesn't exist

 src/orca/formatting.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 4578cd9..9b6791e 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -485,7 +485,8 @@ formatting = {
                                  or (imageDescription and [Region(" "), Component(obj, asString(imageDescription))]))\
                               + (realActiveDescendantRoleName and [Component(obj, (realActiveDescendantDisplayedText and " " or "") + asString(realActiveDescendantRoleName))])\
                               + (expandableState and [Region(" " + asString(expandableState))])\
-                              + (required and [Region(" " + asString(required))]))'
+                              + (required and [Region(" " + asString(required))]))\
+                          or ([Component(obj,"")])'
             },
         #pyatspi.ROLE_TABLE_COLUMN_HEADER: 'default'
         #pyatspi.ROLE_TABLE_ROW_HEADER: 'default'



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