diff options
author | JinWang An <jinwang.an@samsung.com> | 2021-10-07 14:06:11 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2021-10-07 14:06:11 +0900 |
commit | e5e0f016b1ea657a8c4ffe0d0a1d51c20a3fd345 (patch) | |
tree | 8be7c5fabc1fbde64a82a337f7639ccd116e2f5e | |
parent | 8de52a78852d54aad30990d5a7efd87e930d87a4 (diff) | |
download | watch-setting-tizen_6.5.tar.gz watch-setting-tizen_6.5.tar.bz2 watch-setting-tizen_6.5.zip |
Disable transfer event to checkbox in genitemtizen_6.5.m2_releasesubmit/tizen_6.5/20211028.164101submit/tizen/20211007.054304accepted/tizen/unified/20211007.080932accepted/tizen/6.5/unified/20211028.224726tizen_6.5accepted/tizen_6.5_unified
Change-Id: I973e5cb6d54420fe344d840845a4fb40079fb167
Signed-off-by: JinWang An <jinwang.an@samsung.com>
-rw-r--r-- | src/setting-clock.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/setting-clock.c b/src/setting-clock.c index bbf991b..9da4f2d 100644 --- a/src/setting-clock.c +++ b/src/setting-clock.c @@ -121,6 +121,11 @@ enum { CLOCK_TITLE_ROTATE, }; +static void _genlist_realized_cb(void *data, Evas_Object *obj, void *event_info) +{ + elm_object_item_signal_emit(event_info, "elm,state,content_event,disable", "elm"); +} + static char * _gl_menu_title_text_get(void *data, Evas_Object *obj, const char *part) { @@ -1305,6 +1310,8 @@ Evas_Object *_create_clock_list(void *data) elm_genlist_item_append(genlist, title_item, (void *)CLOCK_TITLE_CLOCK, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); + evas_object_smart_callback_add(genlist, "realized", _genlist_realized_cb, NULL); + int count = 0; count = sizeof(clock_menu_its) / sizeof(clock_menu_its[0]); for (idx = 0; idx < count; idx++) { |