forked from enlightenment/efl
elm list/genlist: Renamed interval text get/set hook name.
SVN revision: 70121
This commit is contained in:
parent
e8cad72816
commit
c4fc10388c
|
@ -3664,7 +3664,7 @@ _item_content_unset_hook(Elm_Gen_Item *it, const char *part)
|
|||
}
|
||||
|
||||
static const char *
|
||||
_item_text_hook(Elm_Gen_Item *it, const char *part)
|
||||
_item_text_get_hook(Elm_Gen_Item *it, const char *part)
|
||||
{
|
||||
if (!it->itc->func.text_get) return NULL;
|
||||
return edje_object_part_text_get(VIEW(it), part);
|
||||
|
@ -3761,7 +3761,7 @@ _elm_genlist_item_new(Widget_Data *wd,
|
|||
elm_widget_item_content_get_hook_set(it, _item_content_get_hook);
|
||||
elm_widget_item_content_set_hook_set(it, _item_content_set_hook);
|
||||
elm_widget_item_content_unset_hook_set(it, _item_content_unset_hook);
|
||||
elm_widget_item_text_get_hook_set(it, _item_text_hook);
|
||||
elm_widget_item_text_get_hook_set(it, _item_text_get_hook);
|
||||
elm_widget_item_disable_hook_set(it, _item_disable_hook);
|
||||
elm_widget_item_del_pre_hook_set(it, _item_del_pre_hook);
|
||||
elm_widget_item_signal_emit_hook_set(it, _item_signal_emit_hook);
|
||||
|
|
|
@ -1132,7 +1132,7 @@ _item_content_unset_hook(const Elm_Object_Item *it, const char *part)
|
|||
}
|
||||
|
||||
static void
|
||||
_item_text_set(Elm_Object_Item *it, const char *part, const char *text)
|
||||
_item_text_set_hook(Elm_Object_Item *it, const char *part, const char *text)
|
||||
{
|
||||
Elm_List_Item *list_it = (Elm_List_Item *)it;
|
||||
if (part && strcmp(part, "default")) return;
|
||||
|
@ -1142,7 +1142,7 @@ _item_text_set(Elm_Object_Item *it, const char *part, const char *text)
|
|||
}
|
||||
|
||||
static const char *
|
||||
_item_text_get(const Elm_Object_Item *it, const char *part)
|
||||
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
|
||||
{
|
||||
if (part && strcmp(part, "default")) return NULL;
|
||||
return ((Elm_List_Item *)it)->label;
|
||||
|
@ -1219,8 +1219,8 @@ _item_new(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *e
|
|||
elm_widget_item_content_set_hook_set(it, _item_content_set_hook);
|
||||
elm_widget_item_content_get_hook_set(it, _item_content_get_hook);
|
||||
elm_widget_item_content_unset_hook_set(it, _item_content_unset_hook);
|
||||
elm_widget_item_text_set_hook_set(it, _item_text_set);
|
||||
elm_widget_item_text_get_hook_set(it, _item_text_get);
|
||||
elm_widget_item_text_set_hook_set(it, _item_text_set_hook);
|
||||
elm_widget_item_text_get_hook_set(it, _item_text_get_hook);
|
||||
elm_widget_item_del_pre_hook_set(it, _item_del_pre_hook);
|
||||
return it;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue