[orca/570658] Tentative fix for the extra space in line_nav_bug_555055.py



commit 54d3d02aa024d67a6b55f43e7b0bf2de704f0e0a
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Sun Jul 5 14:09:01 2009 -0400

    Tentative fix for the extra space in line_nav_bug_555055.py
    
    This fixes the regression (initial space before the rolename for
    non-linked images which lack associated/alternative text). Will
    suggested that it would be harder than it proved to be. Therefore,
    after running the regression tests I might back this out. :-)

 src/orca/scripts/toolkits/Gecko/formatting.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/formatting.py b/src/orca/scripts/toolkits/Gecko/formatting.py
index 7c04bc1..4c1a2e5 100644
--- a/src/orca/scripts/toolkits/Gecko/formatting.py
+++ b/src/orca/scripts/toolkits/Gecko/formatting.py
@@ -104,8 +104,8 @@ formatting = {
                            and [Link(obj, (asString(label + displayedText)\
                                            or asString(name))\
                                           + " " + asString(value + roleName))]\
-                           or [Component(obj, asString(label + displayedText)\
-                                              + " " + asString(value + roleName))])',
+                           or [Component(obj,\
+                                        asString(label + displayedText + value + roleName))])'
         },
         # [[[TODO: WDW - yikes!  We need more parameters to send to
         # the Link constructor.]]]



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