diff options
Diffstat (limited to 'src/lib/edje_smart.c')
-rw-r--r-- | src/lib/edje_smart.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/edje_smart.c b/src/lib/edje_smart.c index ba6f1b8..72ce6ec 100644 --- a/src/lib/edje_smart.c +++ b/src/lib/edje_smart.c @@ -1,7 +1,3 @@ -/* - * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 - */ - #include "edje_private.h" static void _edje_smart_add(Evas_Object * obj); @@ -151,7 +147,6 @@ static void _edje_smart_move(Evas_Object * obj, Evas_Coord x, Evas_Coord y) { Edje *ed; - int i; ed = evas_object_smart_data_get(obj); if (!ed) return; @@ -178,6 +173,8 @@ _edje_smart_move(Evas_Object * obj, Evas_Coord x, Evas_Coord y) } else { + unsigned int i; + for (i = 0; i < ed->table_parts_size; i++) { Edje_Real_Part *ep; @@ -234,6 +231,7 @@ _edje_smart_show(Evas_Object * obj) ed = evas_object_smart_data_get(obj); if (!ed) return; + if (evas_object_visible_get(obj)) return; if (evas_object_visible_get(ed->clipper)) return; if ((ed->collection) && (evas_object_clipees_get(ed->clipper))) evas_object_show(ed->clipper); @@ -257,6 +255,7 @@ _edje_smart_hide(Evas_Object * obj) ed = evas_object_smart_data_get(obj); if (!ed) return; + if (!evas_object_visible_get(obj)) return; if (!evas_object_visible_get(ed->clipper)) return; if ((ed->collection) && (evas_object_clipees_get(ed->clipper))) evas_object_hide(ed->clipper); |