[orca] Tweak to the fix for bgo bug #511468



commit 31c3b765d843fade409d3dfa919c454ed74a7c3d
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Tue May 26 18:45:48 2009 -0400

    Tweak to the fix for bgo bug #511468
    
    Tweak to the fix for bug #511468 - Ekiga chat window accessibility
    problem so that we do not constantly speak the call duration when
    in a call.
---
 ChangeLog                      |    7 +++++++
 src/orca/scripts/apps/ekiga.py |    3 ++-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 89ae590..7d03d5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-05-26  Joanmarie Diggs <joanmarie diggs gmail com>
+
+        * src/orca/scripts/apps/ekiga.py:
+          Tweak to the fix for bug #511468 - Ekiga chat window accessibility
+          problem so that we do not constantly speak the call duration when
+          in a call.
+
 2009-05-25  Willie Walker <william walker sun com>
 
         * README:
diff --git a/src/orca/scripts/apps/ekiga.py b/src/orca/scripts/apps/ekiga.py
index 51e263a..94cb31d 100644
--- a/src/orca/scripts/apps/ekiga.py
+++ b/src/orca/scripts/apps/ekiga.py
@@ -58,7 +58,8 @@ class Script(default.Script):
         - obj: the accessible object to examine.
         """
 
-        if obj and obj.getRole() == pyatspi.ROLE_TEXT:
+        if obj and obj.getRole() == pyatspi.ROLE_TEXT \
+           and obj.parent.getRole() == pyatspi.ROLE_SCROLL_PANE:
             state = obj.getState()
             if not state.contains(pyatspi.STATE_EDITABLE) \
                and state.contains(pyatspi.STATE_MULTI_LINE):



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