projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9816a8c
)
elementary/elm_button.c : Change the timing of signal_emitting.
author
WooHyun Jung
<wh0705.jung@samsung.com>
Thu, 5 Dec 2013 01:01:43 +0000
(10:01 +0900)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Thu, 5 Dec 2013 01:01:43 +0000
(10:01 +0900)
Application can delete button itsefl(or its parent) inside the smart callback function.
So the signal_emitting with button object should be done in advance.
legacy/elementary/src/lib/elm_button.c
patch
|
blob
|
history
diff --git
a/legacy/elementary/src/lib/elm_button.c
b/legacy/elementary/src/lib/elm_button.c
index
e1f3da8
..
42f337f
100644
(file)
--- a/
legacy/elementary/src/lib/elm_button.c
+++ b/
legacy/elementary/src/lib/elm_button.c
@@
-184,8
+184,8
@@
_elm_button_smart_event(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
(strcmp(ev->key, "space")))
return;
- _activate(obj);
elm_layout_signal_emit(obj, "elm,anim,activate", "elm");
+ _activate(obj);
ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
if (ret) *ret = EINA_TRUE;