Fix bug not to show radio button of voice language setting 98/85998/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 30 Aug 2016 05:37:36 +0000 (14:37 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 30 Aug 2016 07:47:27 +0000 (16:47 +0900)
Change-Id: I8b78f3e1047789d64655738ac2fe1913cec3f46f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/ise-stt-option.cpp

index 818efcb..ae4763c 100644 (file)
@@ -315,14 +315,15 @@ static Evas_Object *__get_genlist_item_content(void *data, Evas_Object *obj, con
     int index = (intptr_t)data;
     Evas_Object * content = NULL;
 
-    if (!strcmp(part, "elm.icon")) {
+    if (!strcmp(part, "elm.icon") ||
+        !strcmp(part, "elm.swallow.end")) {
         content = elm_radio_add(obj);
+        elm_object_style_set(content, "list");
         elm_radio_state_value_set(content, index);
         elm_radio_group_add(content, radio_gp);
         evas_object_size_hint_weight_set(content, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
         evas_object_propagate_events_set(content, EINA_TRUE);
         evas_object_size_hint_align_set(content, EVAS_HINT_FILL, EVAS_HINT_FILL);
-        elm_object_style_set(content, "list");
     }
     return content;
 }