item = elm_layout_add(parent);
retv_if(!item, NULL);
- elm_layout_file_set(item, ITEM_EDJE, "item_typing");
+ elm_layout_file_set(item, full_path, "item_typing");
evas_object_size_hint_weight_set(item, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(item, EVAS_HINT_FILL, EVAS_HINT_FILL);
return NULL;
}
- snprintf(city_str, sizeof(city_str), "%s", city_info[city].name);
+ snprintf(city_str, sizeof(city_str), "%s, %s", city_info[city].name, city_info[city].nation);
elm_object_part_text_set(item, "city", city_str);
elm_object_signal_callback_add(item, "down", "item", _item_down_cb, NULL);
item = elm_layout_add(parent);
retv_if(!item, NULL);
- elm_layout_file_set(item, ITEM_EDJE, "item_selecting");
+ elm_layout_file_set(item, full_path, "item_selecting");
evas_object_size_hint_weight_set(item, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(item, EVAS_HINT_FILL, EVAS_HINT_FILL);
item = elm_layout_add(parent);
goto_if(!item, error);
- elm_layout_file_set(item, ITEM_EDJE, "item_result");
+ elm_layout_file_set(item, full_path, "item_result");
evas_object_size_hint_weight_set(item, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(item, EVAS_HINT_FILL, EVAS_HINT_FILL);