forked from enlightenment/efl
multibuttonentry: update longpress signal case.
Since the signal name was changed, usage should be also updated.
This commit is contained in:
parent
5c56171bb8
commit
fa0b1bc491
|
@ -123,10 +123,10 @@ _shrink_state_changed_cb(void *data EINA_UNUSED,
|
|||
// "longpressed" smart callback
|
||||
static void
|
||||
_longpressed_cb(void *data EINA_UNUSED,
|
||||
Evas_Object *obj EINA_UNUSED,
|
||||
void *event_info EINA_UNUSED)
|
||||
Evas_Object *obj EINA_UNUSED,
|
||||
void *event_info)
|
||||
{
|
||||
printf("longpressed! \n");
|
||||
printf("item = %p longpressed! \n", event_info);
|
||||
}
|
||||
|
||||
|
||||
|
@ -208,7 +208,7 @@ _add_multibuttonentry(Evas_Object *parent)
|
|||
evas_object_smart_callback_add(mbe, "expanded", _expanded_cb, NULL);
|
||||
evas_object_smart_callback_add(mbe, "contracted", _contracted_cb, NULL);
|
||||
evas_object_smart_callback_add(mbe, "shrink,state,changed", _shrink_state_changed_cb, NULL);
|
||||
evas_object_smart_callback_add(mbe, "longpressed", _longpressed_cb, NULL);
|
||||
evas_object_smart_callback_add(mbe, "item,longpressed", _longpressed_cb, NULL);
|
||||
|
||||
btn = _format_change_btn_add(mbe);
|
||||
elm_object_part_content_set(parent, "box", btn);
|
||||
|
|
Loading…
Reference in New Issue