hermet pushed a commit to branch enventor-0.3. http://git.enlightenment.org/tools/enventor.git/commit/?id=f8fb99a5abb17a48856b5f0db945cd28e94bd344
commit f8fb99a5abb17a48856b5f0db945cd28e94bd344 Author: ChunEon Park <her...@hermet.pe.kr> Date: Thu Aug 14 23:27:21 2014 +0900 auto_comp: correct candidates lists. Reset content_cb to have guarantee the callback call. If anchor is changed faster than tooltip hide, the callback won't be called since tooltip regards the content callback is same with before. --- src/bin/auto_comp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/auto_comp.c b/src/bin/auto_comp.c index 7f7debe..b18563d 100644 --- a/src/bin/auto_comp.c +++ b/src/bin/auto_comp.c @@ -346,6 +346,10 @@ candidate_list_show(autocomp_data *ad) if ((cy + y) > (h / 2)) tooltip_orient = ELM_TOOLTIP_ORIENT_TOP; //Tooltip set + /* Reset content_cb to have guarantee the callback call. If anchor is + changed faster than tooltip hide, the callback won't be called + since tooltip regards the content callback is same with before. */ + elm_object_tooltip_content_cb_set(ad->anchor, NULL, NULL, NULL); elm_object_tooltip_content_cb_set(ad->anchor, entry_tooltip_content_cb, ad, NULL); elm_object_tooltip_orient_set(ad->anchor, tooltip_orient); --