forked from enlightenment/enlightenment
Fix shelf numbering
id must be unique. So if we have 2 zones with 1 shelf in each, hide 1 zone and add a new shelf, it must get id "hidden shelf" + 1 SVN revision: 45563
This commit is contained in:
parent
1fa9578da2
commit
306d3dee1f
|
@ -79,10 +79,8 @@ e_shelf_config_init(void)
|
|||
if (cf_es->id <= 0) cf_es->id = id + 1;
|
||||
zone = e_util_container_zone_id_get(cf_es->container, cf_es->zone);
|
||||
if (zone)
|
||||
{
|
||||
id = cf_es->id;
|
||||
e_shelf_config_new(zone, cf_es);
|
||||
}
|
||||
e_shelf_config_new(zone, cf_es);
|
||||
id = cf_es->id;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue