orca r3898 - in trunk: . src/orca



Author: wwalker
Date: Sat May 17 00:58:43 2008
New Revision: 3898
URL: http://svn.gnome.org/viewvc/orca?rev=3898&view=rev

Log:
Fix for bug #533499 - Evolution contacts not being spoken when you navigate them.


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	Sat May 17 00:58:43 2008
@@ -2765,7 +2765,10 @@
             #
             checkIfSelected = False
             objRole = newLocusOfFocus.getRole()
-            parentRole = newLocusOfFocus.parent.getRole()
+            if newLocusOfFocus.parent:
+                parentRole = newLocusOfFocus.parent.getRole()
+            else:
+                parentRole = None
             state = newLocusOfFocus.getState()
 
             if objRole == pyatspi.ROLE_TABLE_CELL and \



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