summaryrefslogtreecommitdiff
path: root/src/ps_makeupviews.cpp
diff options
context:
space:
mode:
authorJunghyun Kim <jh1114.kim@samsung.com>2012-09-05 16:39:57 +0900
committerJunghyun Kim <jh1114.kim@samsung.com>2012-09-05 16:39:57 +0900
commit6b4ae042a3dc9026183ab28225f86c2e7fe0824b (patch)
tree97f3f9da48d7560b89ab72261c799ffd6646b24f /src/ps_makeupviews.cpp
parent012eaf8203024d43571f27269578cfdf138fdaa0 (diff)
downloadsmartsearch-2.0alpha.tar.gz
smartsearch-2.0alpha.tar.bz2
smartsearch-2.0alpha.zip
Fix layout issue realte to giant font sizeHEADsubmit/master/20120920.1509512.0_alphamaster2.0alpha
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;