2008-05-28 Mark Doffman <mark.doffman@codethink.co.uk>
[platform/core/uifw/at-spi2-atk.git] / pyatspi / constants.py
index cb2353a..1db6408 100644 (file)
@@ -52,8 +52,8 @@ for obj in acc_dict.values():
       utils.getInterfaceName(obj) not in not_interfaces):
     # this is an interface class
     ALL_INTERFACES.append(obj)
-# get rid of our temporary list
-del not_interfaces
+# get rid of our temporary vars
+del not_interfaces, obj, kind
 
 # constants used in the Component interface to get screen coordinates
 DESKTOP_COORDS = 0
@@ -82,6 +82,7 @@ CACHE_PROPERTIES = 1
 # events that clear cached properties
 CACHE_EVENTS = ['object:property-change:accessible-name',
                 'object:property-change:accessible-description',
+                'object:property-change:accessible-role',
                 'object:property-change:accessible-parent']
 
 # dictionary used to correct the bug of not being able to register for all the