projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c699ec2
)
elm_image: let's only propagate the event from one object.
author
Cedric Bail
<cedric.bail@samsung.com>
Mon, 29 Jul 2013 02:30:35 +0000
(11:30 +0900)
committer
Cedric Bail
<cedric.bail@samsung.com>
Mon, 29 Jul 2013 02:31:23 +0000
(11:31 +0900)
NOTE: Why do we destroy and recreate the image object, couldn't we just reset its state ?
src/lib/elm_image.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_image.c
b/src/lib/elm_image.c
index
fe0522b
..
da0ca25
100644
(file)
--- a/
src/lib/elm_image.c
+++ b/
src/lib/elm_image.c
@@
-444,6
+444,7
@@
_elm_image_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
priv->hit_rect = evas_object_rectangle_add(evas_object_evas_get(obj));
evas_object_smart_member_add(priv->hit_rect, obj);
elm_widget_sub_object_add(obj, priv->hit_rect);
+ evas_object_propagate_events_set(priv->hit_rect, EINA_FALSE);
evas_object_color_set(priv->hit_rect, 0, 0, 0, 0);
evas_object_show(priv->hit_rect);