Makes sense and it's almost zero cost as it just set a flag

On Wednesday, July 18, 2012, Enlightenment SVN wrote:

> Log:
> fix box size hint handling.
>
>
>
> Author:       raster
> Date:         2012-07-17 23:57:10 -0700 (Tue, 17 Jul 2012)
> New Revision: 74039
> Trac:         http://trac.enlightenment.org/e/changeset/74039
>
> Modified:
>   trunk/evas/ChangeLog trunk/evas/src/lib/canvas/evas_object_box.c
>
> Modified: trunk/evas/ChangeLog
> ===================================================================
> --- trunk/evas/ChangeLog        2012-07-18 06:52:43 UTC (rev 74038)
> +++ trunk/evas/ChangeLog        2012-07-18 06:57:10 UTC (rev 74039)
> @@ -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.
> +
>
> Modified: trunk/evas/src/lib/canvas/evas_object_box.c
> ===================================================================
> --- trunk/evas/src/lib/canvas/evas_object_box.c 2012-07-18 06:52:43 UTC
> (rev 74038)
> +++ trunk/evas/src/lib/canvas/evas_object_box.c 2012-07-18 06:57:10 UTC
> (rev 74039)
> @@ -145,7 +145,10 @@
>  {
>     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
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-svn mailing list
> [email protected] <javascript:;>
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to