X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fitem.c;h=25d04d2d8a875f8799c0a1c037079eb3ec4905ec;hb=f6a897939313d3077cb19213bef8642028327fa7;hp=9e139ccacb6259fb23e9d95e7c8087749c18c42a;hpb=2c30b96c89d2c2e30a5a4f7e6397fd69d52d5a73;p=apps%2Fnative%2Fsample%2Fadventure.git diff --git a/src/item.c b/src/item.c index 9e139cc..25d04d2 100644 --- a/src/item.c +++ b/src/item.c @@ -91,7 +91,7 @@ Evas_Object *item_create_typing(Evas_Object *parent, int city) 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); @@ -104,7 +104,7 @@ Evas_Object *item_create_typing(Evas_Object *parent, int city) 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); @@ -158,7 +158,7 @@ Evas_Object *item_create_selecting(Evas_Object *parent, int city, int color) 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); @@ -273,7 +273,7 @@ Evas_Object *item_create_result(Evas_Object *parent, int city, int color, int st 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);