nosquash: set shelf data on shelf comp object

probably good practice to set object data to comp objects? anyway, this makes it easier to use with deskmirror
This commit is contained in:
Mike Blumenkrantz 2013-09-05 11:02:02 +01:00
parent af9486c4c2
commit d32e08064a
1 changed files with 1 additions and 0 deletions

View File

@ -231,6 +231,7 @@ e_shelf_zone_new(E_Zone *zone, const char *name, const char *style, E_Layer laye
if (layer == E_LAYER_DESKTOP)
type = E_COMP_OBJECT_TYPE_NONE;
es->comp_object = e_comp_object_util_add(es->o_base, type);
evas_object_data_set(es->comp_object, "E_Shelf", es);
evas_object_name_set(es->comp_object, es->name);
evas_object_layer_set(es->comp_object, layer);