{
Evas_Object *bt, *bt2, *ic, *nf = data;
char buf[PATH_MAX];
{
Evas_Object *bt, *bt2, *ic, *nf = data;
char buf[PATH_MAX];
- snprintf(buf, sizeof(buf), "%s/images/icon_right_arrow.png", PACKAGE_DATA_DIR);
+ snprintf(buf, sizeof(buf), "%s/images/icon_right_arrow.png", elm_app_data_dir_get());
elm_icon_file_set(ic, buf, NULL);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_button_icon_set(bt, ic);
elm_icon_file_set(ic, buf, NULL);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_button_icon_set(bt, ic);
- snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
+ snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get());
elm_icon_file_set(ic, buf, NULL);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_icon_file_set(ic, buf, NULL);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
- elm_naviframe_item_subtitle_label_set(it, "Here is sub-title part!");
- elm_naviframe_item_icon_set(it, ic);
+ elm_object_item_text_part_set(it, "elm.text.subtitle", "Here is sub-title part!");
+ elm_object_item_content_part_set(it, "elm.swallow.icon", ic);
elm_naviframe_item_title_visible_set(it, EINA_FALSE);
evas_object_smart_callback_add(bt2, "clicked", _title_visible, it);
}
elm_naviframe_item_title_visible_set(it, EINA_FALSE);
evas_object_smart_callback_add(bt2, "clicked", _title_visible, it);
}
{
Evas_Object *bt, *bt2, *bt3, *ic, *nf = data;
char buf[PATH_MAX];
{
Evas_Object *bt, *bt2, *bt3, *ic, *nf = data;
char buf[PATH_MAX];
- snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
+ snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get());
elm_icon_file_set(ic, buf, NULL);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_icon_file_set(ic, buf, NULL);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
- elm_naviframe_item_subtitle_label_set(it, "Here is sub-title part!");
- elm_naviframe_item_icon_set(it, ic);
+ elm_object_item_text_part_set(it, "elm.text.subtitle", "Here is sub-title part!");
+ elm_object_item_content_part_set(it, "elm.swallow.icon", ic);
{
Evas_Object *bt, *bt2, *ic, *nf = data;
char buf[PATH_MAX];
{
Evas_Object *bt, *bt2, *ic, *nf = data;
char buf[PATH_MAX];
- snprintf(buf, sizeof(buf), "%s/images/icon_right_arrow.png", PACKAGE_DATA_DIR);
+ snprintf(buf, sizeof(buf), "%s/images/icon_right_arrow.png", elm_app_data_dir_get());
elm_icon_file_set(ic, buf, NULL);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_button_icon_set(bt, ic);
elm_icon_file_set(ic, buf, NULL);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_button_icon_set(bt, ic);