summaryrefslogtreecommitdiff
path: root/src/ps_makeupviews.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ps_makeupviews.cpp')
-rwxr-xr-xsrc/ps_makeupviews.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ps_makeupviews.cpp b/src/ps_makeupviews.cpp
index 15d4581..ea9adf7 100755
--- a/src/ps_makeupviews.cpp
+++ b/src/ps_makeupviews.cpp
@@ -1039,12 +1039,12 @@ void search_layout_set_search_list(void* data)
struct appdata *ad = (struct appdata *)data;
- if (elm_object_part_content_get(ad->result_layout,"list_noresult")) {
- elm_object_part_content_unset(ad->result_layout,"list_noresult");
+ if (elm_object_part_content_get(ad->sb_layout,"list_noresult")) {
+ elm_object_part_content_unset(ad->sb_layout,"list_noresult");
evas_object_hide(ad->noresult_view);
if (ad->search_gl) {
- elm_object_part_content_set(ad->result_layout, "list", ad->search_gl);
+ elm_object_part_content_set(ad->sb_layout, "list", ad->search_gl);
evas_object_show(ad->search_gl);
}
}
@@ -1062,13 +1062,13 @@ void search_layout_set_search_no_result(void* data)
struct appdata *ad = (struct appdata *)data;
- if (elm_object_part_content_get(ad->result_layout, "list")) {
- elm_object_part_content_unset(ad->result_layout, "list");
+ if (elm_object_part_content_get(ad->sb_layout,"list")) {
+ elm_object_part_content_unset(ad->sb_layout, "list");
if (ad->search_gl)
evas_object_hide(ad->search_gl);
- elm_object_part_content_set(ad->result_layout,"list_noresult", ad->noresult_view);
+ elm_object_part_content_set(ad->sb_layout,"list_noresult", ad->noresult_view);
evas_object_show(ad->noresult_view);
}
@@ -1084,7 +1084,7 @@ int search_layout_get_content_list_set_status(void* data)
struct appdata *ad = (struct appdata *)data;
int ret;
- if (elm_object_part_content_get(ad->result_layout, "list")) {
+ if (elm_object_part_content_get(ad->sb_layout,"list")) {
ret = SEARCH_RET_SUCCESS;
} else {
ret = SEARCH_RET_FAIL;