From df35a66c64d4a2d1b82bf88295fe20c8172fb72f Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Tue, 17 Aug 2010 17:36:59 +0200 Subject: list-modems: Pretty-print main menu --- test/list-modems | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/list-modems') diff --git a/test/list-modems b/test/list-modems index 191743bc..eee00b0f 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) -- cgit v1.2.3