cedric pushed a commit to branch master.

commit cf5573bbf5c97d729924e15c8534e892f8f99cdc
Author: Cedric Bail <[email protected]>
Date:   Mon Jul 29 11:30:35 2013 +0900

    elm_image: let's only propagate the event from one object.
    
    NOTE: Why do we destroy and recreate the image object, couldn't we just 
reset its state ?
---
 src/lib/elm_image.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index fe0522b..da0ca25 100644
--- 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);

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to