forked from enlightenment/efl
FileSelector Entry: fix behaviour for events
Fix behaviour for changed, activated, press events. Forwarders must be set on entry's original events, so they will call corresponding fileselector entry's callbacks. @fix
This commit is contained in:
parent
19e8e05f8b
commit
265a7a1ccd
|
@ -309,9 +309,9 @@ _elm_fileselector_entry_evas_object_smart_add(Eo *obj, Elm_Fileselector_Entry_Da
|
||||||
|
|
||||||
#define SIG_FWD(name, event) \
|
#define SIG_FWD(name, event) \
|
||||||
eo_do(priv->entry, eo_event_callback_add(event, _##name##_fwd, obj))
|
eo_do(priv->entry, eo_event_callback_add(event, _##name##_fwd, obj))
|
||||||
SIG_FWD(CHANGED, ELM_FILESELECTOR_ENTRY_EVENT_CHANGED);
|
SIG_FWD(CHANGED, ELM_ENTRY_EVENT_CHANGED);
|
||||||
SIG_FWD(ACTIVATED, ELM_FILESELECTOR_ENTRY_EVENT_ACTIVATED);
|
SIG_FWD(ACTIVATED, ELM_ENTRY_EVENT_ACTIVATED);
|
||||||
SIG_FWD(PRESS, ELM_FILESELECTOR_ENTRY_EVENT_PRESS);
|
SIG_FWD(PRESS, ELM_ENTRY_EVENT_PRESS);
|
||||||
SIG_FWD(LONGPRESSED, EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED);
|
SIG_FWD(LONGPRESSED, EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED);
|
||||||
SIG_FWD(CLICKED, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED);
|
SIG_FWD(CLICKED, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED);
|
||||||
SIG_FWD(CLICKED_DOUBLE, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE);
|
SIG_FWD(CLICKED_DOUBLE, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE);
|
||||||
|
|
Loading…
Reference in New Issue