Fix the elm_image which is made up of a edje object can call a callback function
authorJaehwan Kim <jae.hwan.kim.neo@gmail.com>
Wed, 14 Nov 2012 03:27:15 +0000 (03:27 +0000)
committerJaehwan Kim <jae.hwan.kim.neo@gmail.com>
Wed, 14 Nov 2012 03:27:15 +0000 (03:27 +0000)
SVN revision: 79261

NEWS
src/lib/elm_image.c

diff --git a/NEWS b/NEWS
index 8a95a98..baf0e8b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -54,6 +54,7 @@ Fixes:
    * Fix the elm_flip to accept proxy object.
    * Fix wrong parameter for thumbnail error in elm_icon.
    * Fix missing selected event in elm_index (elm_index_item_selected_set)
+   * Fix the elm_image which is made up of a edje object can call a callback function
 
 Removals:
 
index c122d87..e6f01fc 100644 (file)
@@ -221,6 +221,8 @@ _elm_image_edje_file_set(Evas_Object *obj,
         evas_object_smart_member_add(sd->img, obj);
         if (sd->show) evas_object_show(sd->img);
         evas_object_clip_set(sd->img, pclip);
+        evas_object_event_callback_add
+           (sd->img, EVAS_CALLBACK_MOUSE_UP, _on_mouse_up, obj);
      }
 
    sd->edje = EINA_TRUE;