projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
082eb34
)
Make getRelationType return a RelationType enum.
author
Willie Walker
<william.walker@sun.com>
Wed, 22 Apr 2009 10:38:20 +0000
(06:38 -0400)
committer
Willie Walker
<william.walker@sun.com>
Wed, 22 Apr 2009 10:51:41 +0000
(06:51 -0400)
pyatspi/relation.py
patch
|
blob
|
history
diff --git
a/pyatspi/relation.py
b/pyatspi/relation.py
index 6d1ede0d9afc31fa6aebcacc49aa380c838075d0..ef952c22cb02f33c320c3760bcc0548dac57cb98 100644
(file)
--- a/
pyatspi/relation.py
+++ b/
pyatspi/relation.py
@@
-116,8
+116,7
@@
class Relation(object):
"""
@return the RelationType of this Relation.
"""
- # TODO Return a relation enum type
- return self._type
+ return RelationType(self._type)
def getRelationTypeName(self):
"""