[pyatspi2] Fix some event properties



commit 9d8847341f40ae9c6042b5db34acea00b9ca0a52
Author: Mike Gorse <mgorse novell com>
Date:   Tue Jun 1 22:53:24 2010 -0400

    Fix some event properties

 pyatspi/appevent.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pyatspi/appevent.py b/pyatspi/appevent.py
index c3fc604..fcc63be 100644
--- a/pyatspi/appevent.py
+++ b/pyatspi/appevent.py
@@ -283,11 +283,11 @@ class Event(object):
 
         @property
         def source_name(self):
-                return source.name
+                return self.source.name
 
         @property
         def source_role(self):
-                return source.getRole()
+                return self.source.getRole()
 
         def __str__(self):
                 """



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