Open Source Telephony
 help / color / mirror / Atom feed
* [PATCH] list-modems: Pretty-print main menu.
@ 2010-08-17 15:36 Andrzej Zaborowski
  2010-08-17 15:37 ` [PATCH] stkagent: Free pending call when destroying agent Andrzej Zaborowski
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Andrzej Zaborowski @ 2010-08-17 15:36 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

---
 test/list-modems |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/list-modems b/test/list-modems
index 191743b..eee00b0 100755
--- a/test/list-modems
+++ b/test/list-modems
@@ -58,6 +58,9 @@ for path in properties["Modems"]:
 						"MicrophoneVolume",
 						"SpeakerVolume"]:
 				val = int(properties[key])
+			elif key in ["MainMenu"]:
+				val = ", ".join([ text + " (" + str(int(icon)) +
+					")" for text, icon in properties[key] ])
 			else:
 				val = str(properties[key])
 			print "        %s = %s" % (key, val)
-- 
1.7.1.86.g0e460.dirty


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-08-18 17:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-17 15:36 [PATCH] list-modems: Pretty-print main menu Andrzej Zaborowski
2010-08-17 15:37 ` [PATCH] stkagent: Free pending call when destroying agent Andrzej Zaborowski
2010-08-18  5:34   ` Denis Kenzior
2010-08-17 15:37 ` [PATCH] calypso: Subscribe to %SIMREM, %SIMINS notifications Andrzej Zaborowski
2010-08-18  5:34   ` Denis Kenzior
2010-08-17 15:37 ` [PATCH] stk: Update agent_called with GetInkey and GetInput support Andrzej Zaborowski
2010-08-18  5:34   ` Denis Kenzior
2010-08-17 15:37 ` [PATCH v2] [RfC] doc: Proposed Set Up Call api Andrzej Zaborowski
2010-08-18  5:32   ` Denis Kenzior
2010-08-18  3:01     ` [PATCH] " Andrzej Zaborowski
2010-08-18 15:03       ` Marcel Holtmann
2010-08-18 17:29       ` Denis Kenzior
2010-08-18  6:38     ` [PATCH v2] " Marcel Holtmann
2010-08-18  5:33 ` [PATCH] list-modems: Pretty-print main menu Denis Kenzior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox