projects
/
platform
/
upstream
/
at-spi2-atk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd615d7
)
Fix getDefaultAttributes to return a string of semi-colon delimited key:value pairs
author
Willie Walker
<william.walker@sun.com>
Wed, 22 Apr 2009 14:53:53 +0000
(10:53 -0400)
committer
Willie Walker
<william.walker@sun.com>
Wed, 22 Apr 2009 14:53:53 +0000
(10:53 -0400)
pyatspi/text.py
patch
|
blob
|
history
diff --git
a/pyatspi/text.py
b/pyatspi/text.py
index
5c37aed
..
5a36291
100644
(file)
--- a/
pyatspi/text.py
+++ b/
pyatspi/text.py
@@
-304,8
+304,7
@@
class Text(Accessible):
but which were not explicitly specified by the content creator.
"""
func = self.get_dbus_method("getDefaultAttributes", dbus_interface=ATSPI_TEXT)
- [attributes, startOffset, endOffset] = func(values)
- return [[key + ':' + value for key, value in func().values()], startOffset, endOffset]
+ return ';'.join([key + ':' + value for key, value in func().iteritems()])
def getNSelections(self):
"""