Commit Graph

3 Commits

Author SHA1 Message Date
Cedric BAIL 2c6d0a57c9 elementary: better fix for data corruption in multibuttonentry.
Patch by Jihyeon Seol <jihyeon.seol@samsung.com>


SVN revision: 77742
2012-10-10 09:44:38 +00:00
Jihyeon Seol ca35233c07 From: Jihyeon Seol <jihyeon.seol@samsung.com>
Subject: [E-devel] [Patch] multibuttonentry - data corruption issue of
the box list

here is a problem in the data corruption of the box list in
_box_layout_cb() of the multibuttonentry.

EINA_LIST_FOREACH is used to move and resize the objects. 
but if box unpack/pack is called in the EINA_LIST_FOREACH loop, 
the data of the box list will be corrupted.

This problem can not be solved immediately due to the structural
problems of
the MBE. 
So the attached patch, a workaround, avoids calling unpack/pack in the
EINA_LIST_FOREACH loop.

I am in the process of refactoring MBE but in the mean time, 
this patch will resolve the above issue.



SVN revision: 77192
2012-09-28 09:28:18 +00:00
Gustavo Lima Chaves 7f8d2e218e [elm] Multibuttonentry now a layout.
SVN revision: 75895
2012-08-30 16:46:12 +00:00