orca r3461 - in trunk: . src/orca
- From: richb svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3461 - in trunk: . src/orca
- Date: Mon, 14 Jan 2008 23:04:16 +0000 (GMT)
Author: richb
Date: Mon Jan 14 23:04:16 2008
New Revision: 3461
URL: http://svn.gnome.org/viewvc/orca?rev=3461&view=rev
Log:
* src/orca/flat_review.py:
Fix for bug #506874 - Flat review should support status bars
that have accessible text and children (thanks Will!)
Modified:
trunk/ChangeLog
trunk/src/orca/flat_review.py
Modified: trunk/src/orca/flat_review.py
==============================================================================
--- trunk/src/orca/flat_review.py (original)
+++ trunk/src/orca/flat_review.py Mon Jan 14 23:04:16 2008
@@ -1323,6 +1323,15 @@
or (rootrole == pyatspi.ROLE_SCROLL_BAR):
return self.getZonesFromAccessible(root, rootexts)
+ # If this is a status bar, only pursue its children if we cannot
+ # get non-empty text information from the status bar.
+ # See bug #506874 for more details.
+ #
+ if rootrole == pyatspi.ROLE_STATUS_BAR:
+ zones = self.getZonesFromText(root, rootexts)
+ if len(zones):
+ return zones
+
# Otherwise, dig deeper.
#
# We'll include page tabs: while they are parents, their extents do
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]