forked from enlightenment/enlightenment
no point in trying all this fancy shelf moving/resizing/pruning, we redo all shelves on container resize no matter what
SVN revision: 83590
This commit is contained in:
parent
9560536c11
commit
9bcaf51cc0
|
@ -1171,7 +1171,6 @@ _e_container_resize_handle(E_Container *con)
|
|||
zones = eina_list_remove(zones, zone);
|
||||
con->zones = eina_list_append(con->zones, zone);
|
||||
zone->num = scr->screen;
|
||||
e_shelf_zone_move_resize_handle(zone);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1190,20 +1189,10 @@ _e_container_resize_handle(E_Container *con)
|
|||
|
||||
EINA_LIST_FREE(zones, zone)
|
||||
{
|
||||
Eina_List *shelves, *ll2, *del_shelves;
|
||||
E_Shelf *es;
|
||||
E_Border_List *bl;
|
||||
E_Border *bd;
|
||||
|
||||
/* delete any shelves on this zone */
|
||||
shelves = e_shelf_list();
|
||||
del_shelves = NULL;
|
||||
EINA_LIST_FOREACH(shelves, ll2, es)
|
||||
{
|
||||
if (es->zone == zone)
|
||||
del_shelves = eina_list_append(del_shelves, es);
|
||||
}
|
||||
E_FREE_LIST(del_shelves, e_object_del);
|
||||
bl = e_container_border_list_first(zone->container);
|
||||
while ((bd = e_container_border_list_next(bl)))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue