orca r3899 - in branches/gnome-2-22: . src/orca



Author: wwalker
Date: Sat May 17 21:42:53 2008
New Revision: 3899
URL: http://svn.gnome.org/viewvc/orca?rev=3899&view=rev

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


Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/src/orca/default.py

Modified: branches/gnome-2-22/src/orca/default.py
==============================================================================
--- branches/gnome-2-22/src/orca/default.py	(original)
+++ branches/gnome-2-22/src/orca/default.py	Sat May 17 21:42:53 2008
@@ -2709,7 +2709,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]