stk: Handle icon self explanatory in get input

This commit is contained in:
Denis Kenzior 2012-11-24 01:13:22 -06:00
parent ff6d81a67b
commit 3e64381353
1 changed files with 4 additions and 0 deletions

View File

@ -1680,6 +1680,10 @@ static gboolean handle_command_get_input(const struct stk_command *cmd,
return TRUE;
}
if (gi->icon_id.id != 0 && gi->icon_id.qualifier ==
STK_ICON_QUALIFIER_TYPE_SELF_EXPLANATORY)
text[0]='\0';
if (alphabet)
err = stk_agent_request_input(stk->current_agent, text,
&gi->icon_id, gi->default_text,