[orca] Fix for bgo#624979 - Push buttons no longer showing up in braille for Firefox 4.0
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bgo#624979 - Push buttons no longer showing up in braille for Firefox 4.0
- Date: Thu, 22 Jul 2010 03:15:44 +0000 (UTC)
commit a0044ba125341bdd37a93f78289f3325710a3646
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Wed Jul 21 23:14:50 2010 -0400
Fix for bgo#624979 - Push buttons no longer showing up in braille for Firefox 4.0
src/orca/scripts/toolkits/Gecko/script.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index e2db766..3444d9d 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -2213,7 +2213,7 @@ class Script(default.Script):
if (not len(string) and role != pyatspi.ROLE_PARAGRAPH) \
or self.utilities.isEntry(obj) \
or self.utilities.isPasswordText(obj) \
- or role == pyatspi.ROLE_LINK:
+ or role in [pyatspi.ROLE_LINK, pyatspi.ROLE_PUSH_BUTTON]:
[regions, fRegion] = \
self.brailleGenerator.generateBraille(obj)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]