summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_page_indicator_icon.c
diff options
context:
space:
mode:
authorJaeun Choi <jaeun12.choi@samsung.com>2019-01-25 13:26:03 +0900
committerJaeun Choi <jaeun12.choi@samsung.com>2019-01-25 14:26:12 +0900
commit08fa28f34143093d56c1db99a10647d3eb18b032 (patch)
tree37250e50028ebba48a2966e54db6cffcfd6355a1 /src/lib/elementary/efl_page_indicator_icon.c
parentc442c0972a84d2c9032e15623c644f391b20cdc2 (diff)
efl_page_indicator_icon: mark selected item in pack function if necessary
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_page_indicator_icon.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_page_indicator_icon.c b/src/lib/elementary/efl_page_indicator_icon.c
index 58bf075329..aa87ec6422 100644
--- a/src/lib/elementary/efl_page_indicator_icon.c
+++ b/src/lib/elementary/efl_page_indicator_icon.c
@@ -72,6 +72,13 @@ _efl_page_indicator_icon_pack(Eo *obj,
72 } 72 }
73 73
74 efl_page_indicator_pack(efl_super(obj, MY_CLASS), index); 74 efl_page_indicator_pack(efl_super(obj, MY_CLASS), index);
75
76 if (!pd->curr)
77 {
78 pd->curr = eina_list_nth(pd->items, spd->curr_idx);
79 eina_value_set(pd->v, 1.0);
80 efl_layout_signal_message_send(pd->curr, 1, *(pd->v));
81 }
75} 82}
76 83
77EOLIAN static void 84EOLIAN static void