orca r3468 - in trunk: . src/orca



Author: richb
Date: Wed Jan 16 23:17:30 2008
New Revision: 3468
URL: http://svn.gnome.org/viewvc/orca?rev=3468&view=rev

Log:
        * src/orca/default.py:
          Fix for bug #508682 â Orca speak combobox item three time in 
          Pidgin 2.3.0.


Modified:
   trunk/ChangeLog
   trunk/src/orca/default.py

Modified: trunk/src/orca/default.py
==============================================================================
--- trunk/src/orca/default.py	(original)
+++ trunk/src/orca/default.py	Wed Jan 16 23:17:30 2008
@@ -2548,7 +2548,8 @@
         # to the focused object, then we should speak/braille the
         # focused object, as if it had just got focus.
         #
-        if obj.getRole() == pyatspi.ROLE_LABEL:
+        if obj.getRole() == pyatspi.ROLE_LABEL \
+           and obj.getState().contains(pyatspi.STATE_SHOWING):
             for relation in relations:
                 if relation.getRelationType() \
                        == pyatspi.RELATION_LABEL_FOR:



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