summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Jung <jh8801.jung@samsung.com>2016-11-08 14:11:28 +0900
committerJihoon Jung <jh8801.jung@samsung.com>2016-11-07 21:21:15 -0800
commite3a150bfcc873455fb82790181a625e6f2f298f5 (patch)
tree4de070a8a2d4acefd18cbf731d56ce043569ef49
parent004e29690841e5e7de904f2bca7dde04813aae46 (diff)
downloadug-nfc-efl-e3a150bfcc873455fb82790181a625e6f2f298f5.tar.gz
ug-nfc-efl-e3a150bfcc873455fb82790181a625e6f2f298f5.tar.bz2
ug-nfc-efl-e3a150bfcc873455fb82790181a625e6f2f298f5.zip
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com> Change-Id: I630c4f28793c4d22590b864134b4f299717f77b6
-rwxr-xr-xwearable/app/src/nsa-view-main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/wearable/app/src/nsa-view-main.c b/wearable/app/src/nsa-view-main.c
index 8ccdbff..b2cb7ff 100755
--- a/wearable/app/src/nsa-view-main.c
+++ b/wearable/app/src/nsa-view-main.c
@@ -164,6 +164,8 @@ static Evas_Object *__gl_content_get_on_off(void *data, Evas_Object *obj,
evas_object_propagate_events_set(check, EINA_FALSE);
evas_object_repeat_events_set(check, EINA_TRUE);
+ evas_object_smart_callback_add(check, "changed", __gl_on_off_clicked_cb, data);
+
return check;
} else {
return NULL;
@@ -248,7 +250,7 @@ static Evas_Object *__create_nfc_setting_list(void *data)
NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
ad->on_off = elm_genlist_item_append(genlist, itc_on_off,
- NULL, NULL, ELM_GENLIST_ITEM_NONE, __gl_on_off_clicked_cb, ad);
+ ad, NULL, ELM_GENLIST_ITEM_NONE, __gl_on_off_clicked_cb, ad);
ad->tap_n_pay = elm_genlist_item_append(genlist, itc_list,
ad, NULL, ELM_GENLIST_ITEM_NONE, __gl_tap_n_pay_clicked_cb, ad);