SEARCH_FUNC_START;
int sel_cnt = SEARCH_CATEGORY_LIST_MORE_CNT + 1;
- int func_ret = 1;
+ int func_ret = SEARCH_RET_SEARCH_NONE;
struct appdata *ad = (struct appdata *)data;
struct appdata *ad = (struct appdata *)data;
- if (elm_object_part_content_get(ad->sb_layout,"list_noresult")) {
- elm_object_part_content_unset(ad->sb_layout,"list_noresult");
+ if (elm_object_part_content_get(ad->result_layout,"list_noresult")) {
+ elm_object_part_content_unset(ad->result_layout,"list_noresult");
evas_object_hide(ad->noresult_view);
if (ad->search_gl) {
- elm_object_part_content_set(ad->sb_layout, "list", ad->search_gl);
+ elm_object_part_content_set(ad->result_layout, "list", ad->search_gl);
evas_object_show(ad->search_gl);
}
}
struct appdata *ad = (struct appdata *)data;
- if (elm_object_part_content_get(ad->sb_layout,"list")) {
- elm_object_part_content_unset(ad->sb_layout, "list");
+ if (elm_object_part_content_get(ad->result_layout, "list")) {
+ elm_object_part_content_unset(ad->result_layout, "list");
if (ad->search_gl)
evas_object_hide(ad->search_gl);
- elm_object_part_content_set(ad->sb_layout,"list_noresult", ad->noresult_view);
+ elm_object_part_content_set(ad->result_layout,"list_noresult", ad->noresult_view);
evas_object_show(ad->noresult_view);
}
struct appdata *ad = (struct appdata *)data;
int ret;
- if (elm_object_part_content_get(ad->sb_layout,"list")) {
+ if (elm_object_part_content_get(ad->result_layout, "list")) {
ret = SEARCH_RET_SUCCESS;
} else {
ret = SEARCH_RET_FAIL;