summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2021-10-07 14:06:11 +0900
committerJinWang An <jinwang.an@samsung.com>2021-10-07 14:06:11 +0900
commite5e0f016b1ea657a8c4ffe0d0a1d51c20a3fd345 (patch)
tree8be7c5fabc1fbde64a82a337f7639ccd116e2f5e
parent8de52a78852d54aad30990d5a7efd87e930d87a4 (diff)
downloadwatch-setting-accepted/tizen_6.5_unified.tar.gz
watch-setting-accepted/tizen_6.5_unified.tar.bz2
watch-setting-accepted/tizen_6.5_unified.zip
Change-Id: I973e5cb6d54420fe344d840845a4fb40079fb167 Signed-off-by: JinWang An <jinwang.an@samsung.com>
-rw-r--r--src/setting-clock.c7
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++) {