fix box size hint handling.

SVN revision: 74039
This commit is contained in:
Carsten Haitzler 2012-07-18 06:57:10 +00:00
parent 438941c355
commit 8d4f8f3dc7
2 changed files with 11 additions and 1 deletions

View File

@ -890,3 +890,10 @@
* 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.

View 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