[orca/gnome-2-28] Fix for bgo#604964 - Orca doesn't present the section headings in PackageManager's new "Featured Pac



commit b240ab1d2fb93c7e83251c38a596e89b76d1a235
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Fri Dec 18 19:54:45 2009 -0500

    Fix for bgo#604964 - Orca doesn't present the section headings in PackageManager's new "Featured Packages" start page

 src/orca/scripts/apps/packagemanager/script.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/apps/packagemanager/script.py b/src/orca/scripts/apps/packagemanager/script.py
index 2ce4bd0..8923b16 100644
--- a/src/orca/scripts/apps/packagemanager/script.py
+++ b/src/orca/scripts/apps/packagemanager/script.py
@@ -520,7 +520,7 @@ class Script(default.Script):
 
         verticalCenter1 = extents1[1] + extents1[3] / 2
         verticalCenter2 = extents2[1] + extents2[3] / 2
-        return abs(verticalCenter1 - verticalCenter2) <= 1
+        return abs(verticalCenter1 - verticalCenter2) <= 5
 
     def isLink(self, obj):
         """Returns True if this is a text object serving as a link.



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