From ff6d81a67bd81d1b6ab8b8b151d295277e156bed Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sat, 24 Nov 2012 01:13:09 -0600 Subject: [PATCH] stk: Handle icon self explanatory in get inkey --- src/stk.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stk.c b/src/stk.c index 1ed9489..51e88a6 100644 --- a/src/stk.c +++ b/src/stk.c @@ -1581,6 +1581,10 @@ static gboolean handle_command_get_inkey(const struct stk_command *cmd, gettimeofday(&stk->get_inkey_start_ts, NULL); + if (gi->icon_id.id != 0 && gi->icon_id.qualifier == + STK_ICON_QUALIFIER_TYPE_SELF_EXPLANATORY) + text[0]='\0'; + if (yesno) err = stk_agent_request_confirmation(stk->current_agent, text, &gi->icon_id, -- 2.7.4