fix box size hint handling.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 18 Jul 2012 06:57:10 +0000 (06:57 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 18 Jul 2012 06:57:10 +0000 (06:57 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@74039 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/lib/canvas/evas_object_box.c

index f127ad8..284761a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        * Fix garbage left by mapped smart object when they fly away from the canvas.
        * Fix map life cycle.
 
+2012-07-18  Carsten Haitzler (The Rasterman)
+
+        * Fix evas box to not skip dealing with size hint changes
+          while it lays out objects. This breaks elementary badly and it should
+          never have done this. This broke the general logic of size
+          hint handling.
+
index 88bffdf..e29c5f5 100644 (file)
@@ -145,7 +145,10 @@ _on_child_hints_changed(void *data, Evas *evas __UNUSED__, Evas_Object *o __UNUS
 {
    Evas_Object *box = data;
    EVAS_OBJECT_BOX_DATA_GET_OR_RETURN(box, priv);
-   if (!priv->layouting) evas_object_smart_changed(box);
+// XXX: this breaks box repacking in elementary. widgets DEPEND on being able
+// to change their hints evenr WHILE being laid out. so comment this out.
+//   if (!priv->layouting)
+     evas_object_smart_changed(box);
 }
 
 static void