summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-05-14 22:21:05 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-05-14 22:21:05 +0900
commit685cfef7d9f887008061bd394d47d1b309b91e80 (patch)
tree5ab5289aece3c0e9f310d5459b914103d04cbcb7
parent60fb80b217540f982965b01b6ed9a9787e3baff7 (diff)
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
-rw-r--r--src/lib/elm_genlist.c6
-rw-r--r--src/lib/elm_genlist_item.eo1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index c41115f22..18dcee46e 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)
7037 return eo_do_ret(it, ret, elm_wdg_item_tooltip_style_get()); 7037 return eo_do_ret(it, ret, elm_wdg_item_tooltip_style_get());
7038} 7038}
7039 7039
7040EOLIAN static const char *
7041_elm_genlist_item_elm_widget_item_tooltip_style_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it)
7042{
7043 return it->tooltip.style;
7044}
7045
7040EAPI Eina_Bool 7046EAPI Eina_Bool
7041elm_genlist_item_tooltip_window_mode_set(Elm_Object_Item *item, 7047elm_genlist_item_tooltip_window_mode_set(Elm_Object_Item *item,
7042 Eina_Bool disable) 7048 Eina_Bool disable)
diff --git a/src/lib/elm_genlist_item.eo b/src/lib/elm_genlist_item.eo
index 329184755..9e2c4db1c 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)
498 Elm.Widget_Item.part_content.get; 498 Elm.Widget_Item.part_content.get;
499 Elm.Widget_Item.tooltip_text_set; 499 Elm.Widget_Item.tooltip_text_set;
500 Elm.Widget_Item.tooltip_style.set; 500 Elm.Widget_Item.tooltip_style.set;
501 Elm.Widget_Item.tooltip_style.get;
501 Elm.Widget_Item.tooltip_window_mode.set; 502 Elm.Widget_Item.tooltip_window_mode.set;
502 Elm.Widget_Item.tooltip_content_cb_set; 503 Elm.Widget_Item.tooltip_content_cb_set;
503 Elm.Widget_Item.tooltip_unset; 504 Elm.Widget_Item.tooltip_unset;