* [PATCH 5/6] test-stk-menu: Extend to support ConfirmOpenchannel method
@ 2011-04-08 16:33 Philippe Nunes
2011-04-12 4:40 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Philippe Nunes @ 2011-04-08 16:33 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 930 bytes --]
---
| 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
--git a/test/test-stk-menu b/test/test-stk-menu
index 1fde700..a9f92e8 100755
--- a/test/test-stk-menu
+++ b/test/test-stk-menu
@@ -208,6 +208,20 @@ class StkAgent(dbus.service.Object):
if key == 't':
raise EndSession("User wishes to terminate session")
+ @dbus.service.method("org.ofono.SimToolkitAgent",
+ in_signature="sy", out_signature="b")
+ def ConfirmOpenChannel(self, info, icon):
+ print "Open channel confirmation: (%s)" % (info)
+ print "Icon: (%d)" % (icon)
+ key = raw_input("Enter Confirmation (t, y, n):")
+
+ if key == 't':
+ raise EndSession("User wishes to terminate session");
+ elif key == 'y':
+ return True
+ else:
+ return False
+
def property_changed(name, value):
print "SimToolKit property: %s changed to '%s'" % (name, value)
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 5/6] test-stk-menu: Extend to support ConfirmOpenchannel method
2011-04-08 16:33 [PATCH 5/6] test-stk-menu: Extend to support ConfirmOpenchannel method Philippe Nunes
@ 2011-04-12 4:40 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2011-04-12 4:40 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
Hi Philippe,
On 04/08/2011 11:33 AM, Philippe Nunes wrote:
> ---
> test/test-stk-menu | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)
>
Patch has been applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-12 4:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-08 16:33 [PATCH 5/6] test-stk-menu: Extend to support ConfirmOpenchannel method Philippe Nunes
2011-04-12 4:40 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.