From a8f58dc90d73e2dcfd45078a6799ee808116aedd Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 16 Oct 2012 11:56:57 +0000 Subject: [PATCH] Ecore_Evas (Wayland): Do not set the Smart_Data Frame rectangle as the "frame object". The resulting smart object is set to the frame object. Add the Smart_Data Frame Text to be part of the Smart Object. Signed-off-by: Christopher Michael SVN revision: 78048 --- legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_common.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_common.c index 257fd6e11f..695965509e 100644 --- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_common.c +++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_common.c @@ -350,7 +350,6 @@ _ecore_evas_wl_common_smart_add(Evas_Object *obj) sd->h = 1; sd->frame = evas_object_rectangle_add(evas); - evas_object_is_frame_object_set(sd->frame, EINA_TRUE); evas_object_color_set(sd->frame, 249, 249, 249, 255); evas_object_smart_member_add(sd->frame, obj); @@ -359,6 +358,7 @@ _ecore_evas_wl_common_smart_add(Evas_Object *obj) evas_object_text_style_set(sd->text, EVAS_TEXT_STYLE_PLAIN); evas_object_text_font_set(sd->text, "Sans", 10); evas_object_text_text_set(sd->text, "Smart Test"); + evas_object_smart_member_add(sd->text, obj); evas_object_smart_data_set(obj, sd); }