* edje: Only register callback once for external.
authorcedric <cedric>
Thu, 4 Mar 2010 14:44:20 +0000 (14:44 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 4 Mar 2010 14:44:20 +0000 (14:44 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46868 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_load.c

index c34a008..60897d8 100644 (file)
@@ -436,7 +436,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const char *file, const char *g
                    {
                       evas_object_smart_member_add(rp->object, ed->obj);
 //                    evas_object_layer_set(rp->object, evas_object_layer_get(ed->obj));
-                      if (ep->type != EDJE_PART_TYPE_SWALLOW && ep->type != EDJE_PART_TYPE_GROUP)
+                      if (ep->type != EDJE_PART_TYPE_SWALLOW && ep->type != EDJE_PART_TYPE_GROUP && ep->type != EDJE_PART_TYPE_EXTERNAL)
                         {
                            if (ep->mouse_events)
                              {