Index: src/orca/speechgenerator.py
===================================================================
--- src/orca/speechgenerator.py	(revision 2786)
+++ src/orca/speechgenerator.py	(working copy)
@@ -1219,7 +1219,7 @@
         hasItems = False
         for i in range(0, obj.childCount):
             child = obj.child(i)
-            if child.state.count(atspi.Accessibility.STATE_SHOWING):
+            if child and child.state.count(atspi.Accessibility.STATE_SHOWING):
                 hasItems = True
                 break
         if not hasItems:
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 2786)
+++ ChangeLog	(working copy)
@@ -1,3 +1,9 @@
+2007-09-05  Rich Burridge <rich.burridge@sun.com>
+
+        * src/orca/speechgenerator.py:
+          Fix bug #473422 – Orca has traceback when giving focus to the
+          pidgin application.
+
 2007-09-04  Rich Burridge <rich.burridge@sun.com>
 
         * src/orca/orca-setup.glade:
