hermet pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=685cfef7d9f887008061bd394d47d1b309b91e80
commit 685cfef7d9f887008061bd394d47d1b309b91e80 Author: ChunEon Park <her...@hermet.pe.kr> Date: Thu May 14 22:21:05 2015 +0900 genlist: fix to return item style correctly. Since the genlist items can be unrealized, they own the tooltip strings in their item field. Also, the tooltip string should be returned with it. @fix --- src/lib/elm_genlist.c | 6 ++++++ src/lib/elm_genlist_item.eo | 1 + 2 files changed, 7 insertions(+) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index c41115f..18dcee4 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -7037,6 +7037,12 @@ elm_genlist_item_tooltip_style_get(const Elm_Object_Item *it) return eo_do_ret(it, ret, elm_wdg_item_tooltip_style_get()); } +EOLIAN static const char * +_elm_genlist_item_elm_widget_item_tooltip_style_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +{ + return it->tooltip.style; +} + EAPI Eina_Bool elm_genlist_item_tooltip_window_mode_set(Elm_Object_Item *item, Eina_Bool disable) diff --git a/src/lib/elm_genlist_item.eo b/src/lib/elm_genlist_item.eo index 3291847..9e2c4db 100644 --- a/src/lib/elm_genlist_item.eo +++ b/src/lib/elm_genlist_item.eo @@ -498,6 +498,7 @@ class Elm.Genlist_Item(Elm.Widget_Item) Elm.Widget_Item.part_content.get; Elm.Widget_Item.tooltip_text_set; Elm.Widget_Item.tooltip_style.set; + Elm.Widget_Item.tooltip_style.get; Elm.Widget_Item.tooltip_window_mode.set; Elm.Widget_Item.tooltip_content_cb_set; Elm.Widget_Item.tooltip_unset; --