use zome num, not id so we all acree on zome num now... not id... :)

SVN revision: 74975
This commit is contained in:
Carsten Haitzler 2012-08-07 10:47:55 +00:00
parent 7623fa4de0
commit 7c987dcd1f
2 changed files with 3 additions and 3 deletions

View File

@ -1199,8 +1199,8 @@ _e_container_resize_handle(E_Container *con)
/* find any shelves configured for this zone and add them in */ /* find any shelves configured for this zone and add them in */
EINA_LIST_FOREACH(e_config->shelves, ll, cf_es) EINA_LIST_FOREACH(e_config->shelves, ll, cf_es)
{ {
if (e_util_container_zone_id_get(cf_es->container, if (e_util_container_zone_number_get
cf_es->zone) == zone) (cf_es->container, cf_es->zone) == zone)
e_shelf_config_new(zone, cf_es); e_shelf_config_new(zone, cf_es);
} }
} }

View File

@ -83,7 +83,7 @@ e_shelf_config_update(void)
E_Zone *zone; E_Zone *zone;
if (cf_es->id <= 0) cf_es->id = id + 1; if (cf_es->id <= 0) cf_es->id = id + 1;
zone = e_util_container_zone_id_get(cf_es->container, cf_es->zone); zone = e_util_container_zone_number_get(cf_es->container, cf_es->zone);
if (zone) if (zone)
e_shelf_config_new(zone, cf_es); e_shelf_config_new(zone, cf_es);
id = cf_es->id; id = cf_es->id;