Edje: hide an object after unswallow
authorkakaroto <kakaroto@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 7 Jan 2012 11:39:15 +0000 (11:39 +0000)
committerkakaroto <kakaroto@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 7 Jan 2012 11:39:15 +0000 (11:39 +0000)
Simply doing an unswallow would leave the object where it was in the
evas, visible, but edje would not be handling it anymore.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@66955 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_util.c

index 0e2aa8f..b46e231 100644 (file)
@@ -2215,6 +2215,7 @@ edje_object_part_unswallow(Evas_Object *obj __UNUSED__, Evas_Object *obj_swallow
                                             _edje_object_part_swallow_changed_hints_cb,
                                             rp);
        evas_object_clip_unset(rp->swallowed_object);
+       evas_object_hide (rp->swallowed_object);
        evas_object_data_del(rp->swallowed_object, "\377 edje.swallowing_part");
 
        if (rp->part->mouse_events)