projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccf4b34
)
test: Update get-icon to the new API
author
Denis Kenzior
<denkenz@gmail.com>
Wed, 13 Oct 2010 09:02:58 +0000
(
04:02
-0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 13 Oct 2010 10:04:47 +0000
(
05:04
-0500)
test/get-icon
patch
|
blob
|
history
diff --git
a/test/get-icon
b/test/get-icon
index
eb6f096
..
326d562
100755
(executable)
--- a/
test/get-icon
+++ b/
test/get-icon
@@
-24,4
+24,8
@@
sim = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.SimManager')
icon = sim.GetIcon(dbus.Byte(int(sys.argv[1])))
-print icon
+
+xpm = ""
+for byte in icon:
+ xpm += str(byte)
+print xpm