Use the correct type when returning the description
authorBrad Taylor <brad@getcoded.net>
Thu, 23 Apr 2009 10:58:32 +0000 (06:58 -0400)
committerBrad Taylor <brad@getcoded.net>
Thu, 23 Apr 2009 10:58:32 +0000 (06:58 -0400)
pyatspi/accessiblecache.py

index 747747a..edfde8a 100644 (file)
@@ -127,7 +127,7 @@ class AccessibleCache(object):
                                        self._bus_name,
                                        "org.freedesktop.atspi.Event.Object",
                                        "property-change",
-                                       ("accessible-description", 0, 0, description))
+                                       ("accessible-description", 0, 0, newdata.description))
                         self._registry._notifyDescriptionChange(event)
 
                 if olddata.parent != newdata.parent: